Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9100b205 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Paul Mackerras
Browse files

[PATCH] powerpc32: clean up available memory models



Clean up the currently available memory models for ppc32 under
the powerpc architecture.  We need FLATMEM for ppc32: enable it.
SPARSEMEM is not parameterised for ppc32 so disable that.  Take this
opportunity to clean up white space for FLATMEM_ENABLE.

Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 7b653caf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -587,10 +587,11 @@ config ARCH_SELECT_MEMORY_MODEL

config ARCH_FLATMEM_ENABLE
	def_bool y
       depends on PPC64 && !NUMA
	depends on (PPC64 && !NUMA) || PPC32

config ARCH_SPARSEMEM_ENABLE
	def_bool y
	depends on PPC64

config ARCH_SPARSEMEM_DEFAULT
	def_bool y