aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/kvm_para.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/kvm_para.h b/arch/powerpc/include/asm/kvm_para.h
index d79fd0910964..50533f9adf40 100644
--- a/arch/powerpc/include/asm/kvm_para.h
+++ b/arch/powerpc/include/asm/kvm_para.h
@@ -21,7 +21,6 @@
21#define __POWERPC_KVM_PARA_H__ 21#define __POWERPC_KVM_PARA_H__
22 22
23#include <linux/types.h> 23#include <linux/types.h>
24#include <linux/of.h>
25 24
26struct kvm_vcpu_arch_shared { 25struct kvm_vcpu_arch_shared {
27 __u64 scratch1; 26 __u64 scratch1;
@@ -54,6 +53,8 @@ struct kvm_vcpu_arch_shared {
54 53
55#ifdef CONFIG_KVM_GUEST 54#ifdef CONFIG_KVM_GUEST
56 55
56#include <linux/of.h>
57
57static inline int kvm_para_available(void) 58static inline int kvm_para_available(void)
58{ 59{
59 struct device_node *hyper_node; 60 struct device_node *hyper_node;