Commit 67550080 authored by Aneesh Kumar K.V's avatar Aneesh Kumar K.V Committed by Benjamin Herrenschmidt

powerpc/mm: Make KERN_VIRT_SIZE not dependend on PGTABLE_RANGE

As we keep increasing PGTABLE_RANGE we need not increase the virual
map area for kernel.
Reviewed-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 5524a27d
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#else #else
#define KERN_VIRT_START ASM_CONST(0xD000000000000000) #define KERN_VIRT_START ASM_CONST(0xD000000000000000)
#endif #endif
#define KERN_VIRT_SIZE PGTABLE_RANGE #define KERN_VIRT_SIZE ASM_CONST(0x0000100000000000)
/* /*
* The vmalloc space starts at the beginning of that region, and * The vmalloc space starts at the beginning of that region, and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment