Skip to contentSkip to conversation

remove availability for PAGE_SIZE and friends (ppc)

PATCH New David Brown 1 participant 1 message Mar 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove availability for PAGE_SIZE and friends (ppc)

Same patch as the i386 one only for ppc.

Thanks,
- David Brown

include/asm-ppc/page.h +0 -0
index fe95c82..79d54af 100644
@@ -3,6 +3,8 @@
 

#include <asm/asm-compat.h>

+#ifdef __KERNEL__
+
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT)
@@ -13,8 +15,6 @@
*/
#define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))

-#ifdef __KERNEL__
-
/* This must match what is in arch/ppc/Makefile */
#define PAGE_OFFSET CONFIG_KERNEL_START
#define KERNELBASE PAGE_OFFSET