mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] remove availability for PAGE_SIZE and friends (ppc)
@ 2007-03-06 16:33 David Brown
  0 siblings, 0 replies; only message in thread
From: David Brown @ 2007-03-06 16:33 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Same patch as the i386 one only for ppc.

Thanks,
- David Brown

diff --git a/include/asm-ppc/page.h b/include/asm-ppc/page.h
index fe95c82..79d54af 100644
--- a/include/asm-ppc/page.h
+++ b/include/asm-ppc/page.h
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-06 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-06 16:33 [PATCH] remove availability for PAGE_SIZE and friends (ppc) David Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®