ARM: KVM: vgic: decouple alignment restriction from page size
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 12 Dec 2012 14:37:10 +0000 (14:37 +0000)
committerChristoffer Dall <cdall@cs.columbia.edu>
Wed, 6 Mar 2013 23:48:44 +0000 (15:48 -0800)
commitd7bb077737f34ed474a7256e1f368df6373238fa
treea8c9672f27ee4ab35f02eb58fe89529d41c3fb04
parentcfe3950c2a19c1e1ad85b9dd2622617e309d2845
ARM: KVM: vgic: decouple alignment restriction from page size

The virtual GIC is supposed to be 4kB aligned. On a 64kB page
system, comparing the alignment to PAGE_SIZE is wrong.

Use SZ_4K instead.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/vgic.c