patch-2.4.0-test11 linux/include/asm-ppc/mmu_context.h

Next file: linux/include/asm-ppc/module.h
Previous file: linux/include/asm-ppc/mmu.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/mmu_context.h linux/include/asm-ppc/mmu_context.h
@@ -1,5 +1,6 @@
 #include <linux/config.h>
 
+#ifdef __KERNEL__
 #ifndef __PPC_MMU_CONTEXT_H
 #define __PPC_MMU_CONTEXT_H
 
@@ -112,3 +113,4 @@
    ((segment < 8) ? ((segment) | (context)<<4) : (segment))
 
 #endif
+#endif /* __KERNEL__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)