Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=db38501511a7513ec4f0ae9922d847c135cf3c78
Commit:     db38501511a7513ec4f0ae9922d847c135cf3c78
Parent:     c4612c8596084c898628bd1898da5987ec43ac1d
Author:     Franck Bui-Huu <[EMAIL PROTECTED]>
AuthorDate: Mon Jun 4 17:46:33 2007 +0200
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 17:32:57 2007 +0100

    [MIPS] Make PAGE_OFFSET aware of PHYS_OFFSET
    
    For platforms that use PHYS_OFFSET and do not use a mapped kernel,
    this patch automatically adds PHYS_OFFSET into PAGE_OFFSET.
    Therefore there are no more needs for them to redefine PAGE_OFFSET.
    
    For mapped kernel, they need to redefine PAGE_OFFSET anyways.
    
    Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 include/asm-mips/mach-generic/spaces.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-mips/mach-generic/spaces.h 
b/include/asm-mips/mach-generic/spaces.h
index d901e08..f0571b6 100644
--- a/include/asm-mips/mach-generic/spaces.h
+++ b/include/asm-mips/mach-generic/spaces.h
@@ -72,7 +72,7 @@
  * This handles the memory map.
  */
 #ifndef PAGE_OFFSET
-#define PAGE_OFFSET            CAC_BASE
+#define PAGE_OFFSET            (CAC_BASE + PHYS_OFFSET)
 #endif
 
 #endif /* __ASM_MACH_GENERIC_SPACES_H */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to