summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKyle McMartin2006-10-16 06:29:47 +0200
committerKyle McMartin2006-12-08 06:34:36 +0100
commitcaa451f30aabba47e96355511a63456357074df6 (patch)
treed48aa1e7e438ba949ac74d0e0d54b060e5d1a173 /include
parent[PARISC] more sparse fixes (diff)
downloadkernel-qcow2-linux-caa451f30aabba47e96355511a63456357074df6.tar.gz
kernel-qcow2-linux-caa451f30aabba47e96355511a63456357074df6.tar.xz
kernel-qcow2-linux-caa451f30aabba47e96355511a63456357074df6.zip
[PARISC] Reserve 1GB of space for vmalloc/tmpalias space on parisc64
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-parisc/page.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-parisc/page.h b/include/asm-parisc/page.h
index 3567208191e3..dcf9047f7fb4 100644
--- a/include/asm-parisc/page.h
+++ b/include/asm-parisc/page.h
@@ -127,7 +127,11 @@ extern int npmem_ranges;
/* This governs the relationship between virtual and physical addresses.
* If you alter it, make sure to take care of our various fixed mapping
* segments in fixmap.h */
-#define __PAGE_OFFSET (0x10000000)
+#ifdef CONFIG_64BIT
+#define __PAGE_OFFSET (0x40000000) /* 1GB */
+#else
+#define __PAGE_OFFSET (0x10000000) /* 256MB */
+#endif
#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)