From 0468b4bb125542e75e39f08ebaa74a7daf845631 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Sat, 10 Nov 2007 20:39:06 +0900 Subject: sh: Fix up VMALLOC_START for SH-5. Signed-off-by: Paul Mundt --- include/asm-sh/pgtable.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/asm-sh/pgtable.h') diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index 6ab3ba82d25..b0bb76a6864 100644 --- a/include/asm-sh/pgtable.h +++ b/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) /* -- cgit v1.2.3