aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/pgtable.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-10 20:39:06 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:18:44 +0900
commit0468b4bb125542e75e39f08ebaa74a7daf845631 (patch)
tree1fb923512405b0d7857ceb35a8a161e631343822 /include/asm-sh/pgtable.h
parentsh: Move over the SH-5 head.S and tlb.h. (diff)
downloadlinux-dev-0468b4bb125542e75e39f08ebaa74a7daf845631.tar.xz
linux-dev-0468b4bb125542e75e39f08ebaa74a7daf845631.zip
sh: Fix up VMALLOC_START for SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to '')
-rw-r--r--include/asm-sh/pgtable.h4
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)];
#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)
/*