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

Commit 07a2f737 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] mm: deprecate discontigmem on ARM

parent ee93916e
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -839,6 +839,7 @@ config OABI_COMPAT
	  UNPREDICTABLE (in fact it can be predicted that it won't work
	  UNPREDICTABLE (in fact it can be predicted that it won't work
	  at all). If in doubt say Y.
	  at all). If in doubt say Y.


# Discontigmem is deprecated
config ARCH_DISCONTIGMEM_ENABLE
config ARCH_DISCONTIGMEM_ENABLE
	bool
	bool
	default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
	default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
@@ -851,8 +852,11 @@ config ARCH_DISCONTIGMEM_ENABLE
config ARCH_SPARSEMEM_ENABLE
config ARCH_SPARSEMEM_ENABLE
	bool
	bool


config ARCH_SPARSEMEM_DEFAULT
	def_bool ARCH_SPARSEMEM_ENABLE

config ARCH_SELECT_MEMORY_MODEL
config ARCH_SELECT_MEMORY_MODEL
	bool
	def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE


config NODES_SHIFT
config NODES_SHIFT
	int
	int