提交 0697e5e0 编写于 作者: M Mike Rapoport 提交者: Russell King

ARM: 8974/1: use SPARSMEM_STATIC when SPARSEMEM is enabled

The commit 3e347261 ("[PATCH] sparsemem extreme implementation")
made SPARSMEM_EXTREME the default option for configurations that enable
SPARSEMEM.

For ARM systems with handful of memory banks SPARSEMEM_EXTREME is an
overkill.

Ensure that SPARSMEM_STATIC is enabled in the configurations that use
SPARSEMEM.

Fixes: 3e347261 ("[PATCH] sparsemem extreme implementation")
Acked-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
上级 a780e485
......@@ -1517,6 +1517,7 @@ config ARCH_HAS_HOLES_MEMORYMODEL
config ARCH_SPARSEMEM_ENABLE
bool
select SPARSEMEM_STATIC
config ARCH_SPARSEMEM_DEFAULT
def_bool ARCH_SPARSEMEM_ENABLE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册