aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/psci.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2015-05-01 09:53:39 +0000
committerMark Rutland <[email protected]>2015-05-27 12:21:16 +0000
commit538b9b25fa5dd372eeb3eabc85cb24d5df9e317b (patch)
tree23aec5a92b64910caf0a9ebdb99243d1bc2f7e77 /arch/arm/kvm/psci.c
parentARM64: kernel: unify ACPI and DT cpus initialization (diff)
downloadkernel-538b9b25fa5dd372eeb3eabc85cb24d5df9e317b.tar.gz
kernel-538b9b25fa5dd372eeb3eabc85cb24d5df9e317b.zip
arm/arm64: kvm: add missing PSCI include
We make use of the PSCI function IDs, but don't explicitly include the header which defines them. Relying on transitive header includes is fragile and will be broken as headers are refactored. This patch includes the relevant header file directly so as to avoid future breakage. Signed-off-by: Mark Rutland <[email protected]> Acked-by: Christoffer Dall <[email protected]> Reviewed-by: Hanjun Guo <[email protected]> Tested-by: Hanjun Guo <[email protected]> Cc: Marc Zyngier <[email protected]>
Diffstat (limited to 'arch/arm/kvm/psci.c')
-rw-r--r--arch/arm/kvm/psci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kvm/psci.c b/arch/arm/kvm/psci.c
index 02fa8eff6ae1..7e9398c6b387 100644
--- a/arch/arm/kvm/psci.c
+++ b/arch/arm/kvm/psci.c
@@ -24,6 +24,8 @@
#include <asm/kvm_psci.h>
#include <asm/kvm_host.h>
+#include <uapi/linux/psci.h>
+
/*
* This is an implementation of the Power State Coordination Interface
* as described in ARM document number ARM DEN 0022A.