summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/sparsemem.h
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2009-05-05 17:28:56 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-05-05 19:10:18 -0700
commitc898faf91b3ec6b0f6efa35831b3984fa3331db0 (patch)
tree5fa6850127cfe510e1e2d45b6c80044e29a137f5 /arch/x86/include/asm/sparsemem.h
parenta454ab3110175d710f4f9a96226a26ce4d5d5de2 (diff)
x86: 46 bit physical address support on 64 bits
Extend the maximum addressable memory on x86-64 from 2^44 to 2^46 bytes. This requires some shuffling around of the vmalloc and virtual memmap memory areas, to keep them away from the direct mapping of up to 64TB of physical memory. This patch also introduces a guard hole between the vmalloc area and the virtual memory map space. There's really no good reason why we wouldn't have a guard hole there. [ Impact: future hardware enablement ] Signed-off-by: Rik van Riel <riel@redhat.com> LKML-Reference: <20090505172856.6820db22@cuia.bos.redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/sparsemem.h')
-rw-r--r--arch/x86/include/asm/sparsemem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/sparsemem.h b/arch/x86/include/asm/sparsemem.h
index e3cc3c063ec..4517d6b9318 100644
--- a/arch/x86/include/asm/sparsemem.h
+++ b/arch/x86/include/asm/sparsemem.h
@@ -27,7 +27,7 @@
#else /* CONFIG_X86_32 */
# define SECTION_SIZE_BITS 27 /* matt - 128 is convenient right now */
# define MAX_PHYSADDR_BITS 44
-# define MAX_PHYSMEM_BITS 44 /* Can be max 45 bits */
+# define MAX_PHYSMEM_BITS 46
#endif
#endif /* CONFIG_SPARSEMEM */