patch-2.4.0-test11 linux/include/asm-ppc/page.h
Next file: linux/include/asm-ppc/param.h
Previous file: linux/include/asm-ppc/oak.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Sat Nov 11 18:23:11 2000
- Orig file:
v2.4.0-test10/linux/include/asm-ppc/page.h
- Orig date:
Wed Aug 9 13:46:01 2000
diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/page.h linux/include/asm-ppc/page.h
@@ -1,8 +1,3 @@
-#include <linux/config.h>
-#ifndef __ASSEMBLY__
-#include <asm/system.h> /* for xmon definition */
-#endif /* ndef __ASSEMBLY__ */
-
#ifndef _PPC_PAGE_H
#define _PPC_PAGE_H
@@ -11,11 +6,14 @@
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
+#ifdef __KERNEL__
+#include <linux/config.h>
+
#define PAGE_OFFSET 0xc0000000
#define KERNELBASE PAGE_OFFSET
#ifndef __ASSEMBLY__
-#ifdef __KERNEL__
+#include <asm/system.h> /* for xmon definition */
#ifdef CONFIG_XMON
#define BUG() do { \
@@ -134,6 +132,6 @@
return order;
}
-#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */
+#endif /* __KERNEL__ */
#endif /* _PPC_PAGE_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)