aboutsummaryrefslogtreecommitdiff
path: root/arch/ia64/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-08-16 15:31:11 +0300
committerAvi Kivity <avi@redhat.com>2009-09-10 10:46:48 +0300
commit27c238106862fb0dd3e229c48c1ef56502b0ec88 (patch)
tree4e14454376a58947e67b308a5e682bfaff64d349 /arch/ia64/include
parentda18acffc3f13c4f187c20bc5dcfcb110b374b48 (diff)
KVM: Add __KERNEL__ guards to exported headers
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64/include')
-rw-r--r--arch/ia64/include/asm/kvm_para.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/kvm_para.h b/arch/ia64/include/asm/kvm_para.h
index 0d6d8ca07b8..1588aee781a 100644
--- a/arch/ia64/include/asm/kvm_para.h
+++ b/arch/ia64/include/asm/kvm_para.h
@@ -19,9 +19,13 @@
*
*/
+#ifdef __KERNEL__
+
static inline unsigned int kvm_arch_para_features(void)
{
return 0;
}
#endif
+
+#endif