ARM: KVM: Fix size check in __coherent_cache_guest_page
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 7 Feb 2015 21:21:20 +0000 (22:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Feb 2015 21:28:47 +0000 (22:28 +0100)
commita050dfb21cc22ac0c666d52531040c1bc48184cc
treedcecc74f8562461340b9fd4594f1f09edb8b2a35
parentc517d838eb7d07bbe9507871fab3931deccff539
ARM: KVM: Fix size check in __coherent_cache_guest_page

The check is supposed to catch page-unaligned sizes, not the inverse.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/include/asm/kvm_mmu.h