diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2014-02-03 01:41:02 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-02-14 14:09:49 +0400 |
commit | 2a2f3e269c75edf916de5967079069aeb6a601cb (patch) | |
tree | f152970a13b146605b68c56a61f7638f97a5ca69 /virt | |
parent | aac5c4226e7136c331ed384c25d5560204da10a0 (diff) | |
download | linux-2a2f3e269c75edf916de5967079069aeb6a601cb.tar.xz |
arm64: KVM: Add VGIC device control for arm64
This fixes the build breakage introduced by
c07a0191ef2de1f9510f12d1f88e3b0b5cd8d66f and adds support for the device
control API and save/restore of the VGIC state for ARMv8.
The defines were simply missing from the arm64 header files and
uaccess.h must be implicitly imported from somewhere else on arm.
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/arm/vgic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index be456ce264d0..8ca405cd7c1a 100644 --- a/virt/kvm/arm/vgic.c +++ b/virt/kvm/arm/vgic.c @@ -24,6 +24,7 @@ #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_irq.h> +#include <linux/uaccess.h> #include <linux/irqchip/arm-gic.h> |