summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/namei.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/namei.h')
-rw-r--r--include/asm-ppc/namei.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/namei.h b/include/asm-ppc/namei.h
index cd871903d..0bd54a034 100644
--- a/include/asm-ppc/namei.h
+++ b/include/asm-ppc/namei.h
@@ -5,6 +5,7 @@
* Included from linux/fs/namei.c
*/
+#ifdef __KERNEL__
#ifndef __PPC_NAMEI_H
#define __PPC_NAMEI_H
@@ -16,3 +17,4 @@
#define __emul_prefix() NULL
#endif /* __PPC_NAMEI_H */
+#endif /* __KERNEL__ */