[PATCH] ppc64: Increase sparsemem defaults
authorAnton Blanchard <anton@samba.org>
Fri, 11 Nov 2005 04:02:03 +0000 (15:02 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 11 Nov 2005 11:21:41 +0000 (22:21 +1100)
The definitions in sparsemem.h arent sufficient. We currently sell
machines with 2TB of RAM, and in order to give us room for a few years
growth lets set it to 16TB.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/sparsemem.h

index 58d2aab416f8f21f7574acedeefaeffcf43878b8..ba1b34fdb967e86c7cd761f8e91c2317cd5adf36 100644 (file)
@@ -8,8 +8,8 @@
  * MAX_PHYSMEM_BITS            2^N: how much memory we can have in that space
  */
 #define SECTION_SIZE_BITS       24
-#define MAX_PHYSADDR_BITS       38
-#define MAX_PHYSMEM_BITS        36
+#define MAX_PHYSADDR_BITS       44
+#define MAX_PHYSMEM_BITS        44
 
 #ifdef CONFIG_MEMORY_HOTPLUG
 extern void create_section_mapping(unsigned long start, unsigned long end);