diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-10 06:39:06 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:44 -0500 |
commit | 0468b4bb125542e75e39f08ebaa74a7daf845631 (patch) | |
tree | 1fb923512405b0d7857ceb35a8a161e631343822 /include/asm-sh/pgtable.h | |
parent | 959f7d587e236a2d218f527771f156c336409d11 (diff) |
sh: Fix up VMALLOC_START for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/pgtable.h')
-rw-r--r-- | include/asm-sh/pgtable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index 6ab3ba82d255..b0bb76a6864f 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)]; | |||
71 | 71 | ||
72 | #define PTE_PHYS_MASK (0x20000000 - PAGE_SIZE) | 72 | #define PTE_PHYS_MASK (0x20000000 - PAGE_SIZE) |
73 | 73 | ||
74 | #ifdef CONFIG_SUPERH32 | ||
74 | #define VMALLOC_START (P3SEG) | 75 | #define VMALLOC_START (P3SEG) |
76 | #else | ||
77 | #define VMALLOC_START (0xf0000000) | ||
78 | #endif | ||
75 | #define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) | 79 | #define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) |
76 | 80 | ||
77 | /* | 81 | /* |