m68k: merge the mmu and non-mmu versions of page_offset.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 3, 2009 - 11:02 am

Gitweb:     http://git.kernel.org/linus/ac55cdfb02133df64d4aa5571b343d4e98673b07
Commit:     ac55cdfb02133df64d4aa5571b343d4e98673b07
Parent:     e77d15511fc4e1554c500524dd43b9c162a2d95e
Author:     Greg Ungerer <gerg@uclinux.org>
AuthorDate: Mon Feb 2 16:27:52 2009 +1000
Committer:  Greg Ungerer <gerg@uclinux.org>
CommitDate: Tue Mar 24 15:17:43 2009 +1000

    m68k: merge the mmu and non-mmu versions of page_offset.h
    
    Trivial merge of the mmu and non-mmu versions of page_offset.h
    
    Signed-off-by: Greg Ungerer <gerg@uclinux.org>
    Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/m68k/include/asm/page_offset.h    |   12 +++++++++---
 arch/m68k/include/asm/page_offset_mm.h |    8 --------
 arch/m68k/include/asm/page_offset_no.h |    5 -----
 3 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/arch/m68k/include/asm/page_offset.h b/arch/m68k/include/asm/page_offset.h
index 66455c8..1780152 100644
--- a/arch/m68k/include/asm/page_offset.h
+++ b/arch/m68k/include/asm/page_offset.h
@@ -1,5 +1,11 @@
-#ifdef __uClinux__
-#include "page_offset_no.h"
+/* This handles the memory map.. */
+
+#ifdef CONFIG_MMU
+#ifndef CONFIG_SUN3
+#define PAGE_OFFSET_RAW		0x00000000
 #else
-#include "page_offset_mm.h"
+#define PAGE_OFFSET_RAW		0x0E000000
+#endif
+#else
+#define	PAGE_OFFSET_RAW		CONFIG_RAMBASE
 #endif
diff --git a/arch/m68k/include/asm/page_offset_mm.h b/arch/m68k/include/asm/page_offset_mm.h
deleted file mode 100644
index 1cbdb7f..0000000
--- a/arch/m68k/include/asm/page_offset_mm.h
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/* This handles the memory map.. */
-#ifndef CONFIG_SUN3
-#define PAGE_OFFSET_RAW		0x00000000
-#else
-#define PAGE_OFFSET_RAW		0x0E000000
-#endif
-
diff --git a/arch/m68k/include/asm/page_offset_no.h b/arch/m68k/include/asm/page_offset_no.h
deleted file mode 100644
index d4e73e0..0000000
--- a/arch/m68k/include/asm/page_offset_no.h
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-/* This handles the memory map.. */
-#define	PAGE_OFFSET_RAW		CONFIG_RAMBASE
-
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
m68k: merge the mmu and non-mmu versions of page_offset.h, Linux Kernel Mailing ..., (Fri Apr 3, 11:02 am)