ARM: KVM: Fix kvm_set_pte assignment
authorChristoffer Dall <christoffer.dall@linaro.org>
Fri, 9 Aug 2013 03:35:07 +0000 (20:35 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:03 +0000 (17:18 +0200)
commit07557caabbdc70c2644e6f195fd07ca8be7d16b2
tree4fcb0a54fc61caa94969a7fdecb35db0531e3ac2
parentde5324b84480246ad6064cd3469d362995c2e929
ARM: KVM: Fix kvm_set_pte assignment

THe kvm_set_pte function was actually assigning the entire struct to the
structure member, which should work because the structure only has that
one member, but it is still not very nice.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 0963e5d0f22f9d197dbf206d8b5b2a150722cf5e)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/include/asm/kvm_mmu.h