1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-13 22:53:20 +00:00

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: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Aneesh Kumar K.V 2012-09-10 02:52:51 +00:00 committed by Benjamin Herrenschmidt
parent 5524a27d39
commit 67550080b8

View File

@ -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