summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/mach-generic/mach_wakecpu.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-16 21:23:36 +0300
committerIngo Molnar <mingo@elte.hu>2008-12-16 21:31:52 +0300
commitb6fd6f26733e864fba2ea3eb1d716e23d2e66f3a (patch)
tree6b76b47a3366d502cbb8a740c15e9d2f46aea645 /arch/x86/include/asm/mach-generic/mach_wakecpu.h
parentcfc319833b5b359bf3bce99564dbac00af7925ac (diff)
downloadlinux-b6fd6f26733e864fba2ea3eb1d716e23d2e66f3a.tar.xz
x86, mm: limit MAXMEM on 64-bit
on 64-bit x86 the physical memory limit is controlled by the sparsemem bits - which are 44 bits right now. But MAXMEM (the max pfn number e820 parsing will allow to enter our sizing routines) is set to 0x00003fffffffffff, i.e. 46 bits - that's too large because it overlaps into the vmalloc range. So couple MAXMEM to MAX_PHYSMEM_BITS, and add a comment that the maximum of MAX_PHYSMEM_BITS is 45 bits. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/mach-generic/mach_wakecpu.h')
0 files changed, 0 insertions, 0 deletions