瀏覽代碼

[PARISC] Reserve 1GB of space for vmalloc/tmpalias space on parisc64

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Kyle McMartin 18 年之前
父節點
當前提交
caa451f30a
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      include/asm-parisc/page.h

+ 5 - 1
include/asm-parisc/page.h

@@ -127,7 +127,11 @@ extern int npmem_ranges;
 /* This governs the relationship between virtual and physical addresses.
 /* This governs the relationship between virtual and physical addresses.
  * If you alter it, make sure to take care of our various fixed mapping
  * If you alter it, make sure to take care of our various fixed mapping
  * segments in fixmap.h */
  * 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)
 #define PAGE_OFFSET		((unsigned long)__PAGE_OFFSET)