sh: Fix up VMALLOC_START for SH-5.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 10 Nov 2007 11:39:06 +0000 (20:39 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:44 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/pgtable.h

index 6ab3ba82d255e16a5fb84fe13ae9f5a02b0b65d5..b0bb76a6864fce97a979335b1bba0e628eacb155 100644 (file)
@@ -71,7 +71,11 @@ extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)];
 
 #define PTE_PHYS_MASK          (0x20000000 - PAGE_SIZE)
 
+#ifdef CONFIG_SUPERH32
 #define VMALLOC_START  (P3SEG)
+#else
+#define VMALLOC_START  (0xf0000000)
+#endif
 #define VMALLOC_END    (FIXADDR_START-2*PAGE_SIZE)
 
 /*