projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51ec24
)
[PARISC] Reserve 1GB of space for vmalloc/tmpalias space on parisc64
author
Kyle McMartin
<kyle@mako.i.cabal.ca>
Mon, 16 Oct 2006 04:29:47 +0000
(
00:29
-0400)
committer
Kyle McMartin
<kyle@ubuntu.com>
Fri, 8 Dec 2006 05:34:36 +0000
(
00:34
-0500)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/page.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-parisc/page.h
b/include/asm-parisc/page.h
index 3567208191e37d09f47199a26a0a223dce1b6c28..dcf9047f7fb4f204b37cb176d2b2e25fd2f24c8b 100644
(file)
--- 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)