From 1cc85cd50e43c4796fc3cb6f86370b2cae1401b2 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 18 May 2012 13:59:39 -0400 Subject: [PATCH] --- yaml --- r: 307913 b: refs/heads/master c: 322728e55aa7834e2fab2786b76df183c4843a12 h: refs/heads/master i: 307911: d262014e260ed4f6ec4e5465f63e0b800c0a938b v: v3 --- [refs] | 2 +- trunk/include/asm-generic/kvm_para.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 1ee39164c024..4b79f032fed4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 46a6dd1c87c4ff17202574127daf70cc0bb38d6d +refs/heads/master: 322728e55aa7834e2fab2786b76df183c4843a12 diff --git a/trunk/include/asm-generic/kvm_para.h b/trunk/include/asm-generic/kvm_para.h index 9a7bbadb688d..5cba37f9eae1 100644 --- a/trunk/include/asm-generic/kvm_para.h +++ b/trunk/include/asm-generic/kvm_para.h @@ -1,6 +1,7 @@ #ifndef _ASM_GENERIC_KVM_PARA_H #define _ASM_GENERIC_KVM_PARA_H +#ifdef __KERNEL__ /* * This function is used by architectures that support kvm to avoid issuing @@ -16,4 +17,6 @@ static inline unsigned int kvm_arch_para_features(void) return 0; } +#endif /* _KERNEL__ */ + #endif