arm/arm64: kvm: add missing PSCI include
authorMark Rutland <[email protected]>
Fri, 1 May 2015 09:53:39 +0000 (10:53 +0100)
committerMark Rutland <[email protected]>
Wed, 27 May 2015 12:21:16 +0000 (13:21 +0100)
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]>
arch/arm/kvm/psci.c

index 02fa8eff6ae1d54a93194d9e8d685017fe964d2a..7e9398c6b38780fd43443c95cd813b60f5ac1f72 100644 (file)
@@ -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.