aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc64/Kconfig1
-rw-r--r--include/asm-sparc64/sparsemem.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig
index 51c87fdd998c..590a41b864b9 100644
--- a/arch/sparc64/Kconfig
+++ b/arch/sparc64/Kconfig
@@ -220,6 +220,7 @@ config ARCH_SPARSEMEM_ENABLE
220 220
221config ARCH_SPARSEMEM_DEFAULT 221config ARCH_SPARSEMEM_DEFAULT
222 def_bool y 222 def_bool y
223 select SPARSEMEM_STATIC
223 224
224config LARGE_ALLOCS 225config LARGE_ALLOCS
225 def_bool y 226 def_bool y
diff --git a/include/asm-sparc64/sparsemem.h b/include/asm-sparc64/sparsemem.h
index ed5c9d8541e2..411e0e255cf3 100644
--- a/include/asm-sparc64/sparsemem.h
+++ b/include/asm-sparc64/sparsemem.h
@@ -3,9 +3,9 @@
3 3
4#ifdef __KERNEL__ 4#ifdef __KERNEL__
5 5
6#define SECTION_SIZE_BITS 26 6#define SECTION_SIZE_BITS 31
7#define MAX_PHYSADDR_BITS 42 7#define MAX_PHYSADDR_BITS 41
8#define MAX_PHYSMEM_BITS 42 8#define MAX_PHYSMEM_BITS 41
9 9
10#endif /* !(__KERNEL__) */ 10#endif /* !(__KERNEL__) */
11 11