aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/hvcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/hvcall.h')
-rw-r--r--include/asm-powerpc/hvcall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/hvcall.h b/include/asm-powerpc/hvcall.h
index d36da61dbc5318..da7af5a720e098 100644
--- a/include/asm-powerpc/hvcall.h
+++ b/include/asm-powerpc/hvcall.h
@@ -1,5 +1,6 @@
#ifndef _ASM_POWERPC_HVCALL_H
#define _ASM_POWERPC_HVCALL_H
+#ifdef __KERNEL__
#define HVSC .long 0x44000022
@@ -170,4 +171,5 @@ long plpar_hcall_4out(unsigned long opcode,
unsigned long *out4);
#endif /* __ASSEMBLY__ */
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_HVCALL_H */