Index: kernel/arch/mips32/include/mm/frame.h
===================================================================
--- kernel/arch/mips32/include/mm/frame.h	(revision 27ba40f4ccf8a83c8054ca09330d1974972b838c)
+++ kernel/arch/mips32/include/mm/frame.h	(revision 3751a0819eb30b332bb28f44b7bd735ab88d23dc)
@@ -39,5 +39,4 @@
 #define FRAME_SIZE   (1 << FRAME_WIDTH)
 
-#ifdef KERNEL
 #ifndef __ASM__
 
@@ -46,5 +45,4 @@
 
 #endif /* __ASM__ */
-#endif /* KERNEL */
 
 #endif
Index: kernel/arch/mips32/include/mm/page.h
===================================================================
--- kernel/arch/mips32/include/mm/page.h	(revision 27ba40f4ccf8a83c8054ca09330d1974972b838c)
+++ kernel/arch/mips32/include/mm/page.h	(revision 3751a0819eb30b332bb28f44b7bd735ab88d23dc)
@@ -49,6 +49,4 @@
 #	define PA2KA(x)	((x) + 0x80000000)
 #endif
-
-#ifdef KERNEL
 
 /*
@@ -188,6 +186,4 @@
 #endif /* __ASM__ */
 
-#endif /* KERNEL */
-
 #endif
 
