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
/
pgtable.h
diff --git
a/include/asm-powerpc/pgtable.h
b/include/asm-powerpc/pgtable.h
index
3518adb
..
e389313
100644
(file)
--- a/
include/asm-powerpc/pgtable.h
+++ b/
include/asm-powerpc/pgtable.h
@@
-1,5
+1,6
@@
#ifndef _ASM_POWERPC_PGTABLE_H
#define _ASM_POWERPC_PGTABLE_H
+#ifdef __KERNEL__
#ifndef CONFIG_PPC64
#include <asm-ppc/pgtable.h>
@@
-532,4
+533,5
@@
void pgtable_cache_init(void);
#endif /* __ASSEMBLY__ */
#endif /* CONFIG_PPC64 */
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_PGTABLE_H */