Skip to content

Commit

Permalink
powerpc/mm: Make KERN_VIRT_SIZE not dependend on PGTABLE_RANGE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aneesh Kumar K.V authored and Benjamin Herrenschmidt committed Sep 17, 2012
1 parent 5524a27 commit 6755008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/pgtable-ppc64.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#else
#define KERN_VIRT_START ASM_CONST(0xD000000000000000)
#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
Expand Down

0 comments on commit 6755008

Please sign in to comment.