Explorar o código

sh: Fix up VMALLOC_START for SH-5.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt %!s(int64=17) %!d(string=hai) anos
pai
achega
0468b4bb12
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      include/asm-sh/pgtable.h

+ 4 - 0
include/asm-sh/pgtable.h

@@ -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)
 
 /*