summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/page_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/page_32.h')
-rw-r--r--include/asm-powerpc/page_32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/page_32.h b/include/asm-powerpc/page_32.h
index 7259cfd85da..2677bad70f4 100644
--- a/include/asm-powerpc/page_32.h
+++ b/include/asm-powerpc/page_32.h
@@ -1,5 +1,6 @@
#ifndef _ASM_POWERPC_PAGE_32_H
#define _ASM_POWERPC_PAGE_32_H
+#ifdef __KERNEL__
#define VM_DATA_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS32
@@ -37,4 +38,5 @@ extern __inline__ int get_order(unsigned long size)
#endif /* __ASSEMBLY__ */
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_PAGE_32_H */