Skip to content

Commit

Permalink
[PATCH] powerpc32: clean up available memory models
Browse files Browse the repository at this point in the history
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: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Andy Whitcroft authored and Paul Mackerras committed Jan 9, 2006
1 parent 7b653ca commit 9100b20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -586,11 +586,12 @@ config ARCH_SELECT_MEMORY_MODEL
depends on PPC64

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

config ARCH_SPARSEMEM_ENABLE
def_bool y
depends on PPC64

config ARCH_SPARSEMEM_DEFAULT
def_bool y
Expand Down

0 comments on commit 9100b20

Please sign in to comment.