git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] powerpc: sanitize header files for user space includes
[pandora-kernel.git]
/
include
/
asm-powerpc
/
hvcall.h
diff --git
a/include/asm-powerpc/hvcall.h
b/include/asm-powerpc/hvcall.h
index
d36da61
..
da7af5a
100644
(file)
--- 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 */