Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Aneesh Kumar K.V and committed by
Benjamin Herrenschmidt
67550080 5524a27d

+1 -1
+1 -1
arch/powerpc/include/asm/pgtable-ppc64.h
··· 41 41 #else 42 42 #define KERN_VIRT_START ASM_CONST(0xD000000000000000) 43 43 #endif 44 - #define KERN_VIRT_SIZE PGTABLE_RANGE 44 + #define KERN_VIRT_SIZE ASM_CONST(0x0000100000000000) 45 45 46 46 /* 47 47 * The vmalloc space starts at the beginning of that region, and