提交 dc47e9dd 编写于 作者: P Paul Mundt

sh: Bump MAX_ACTIVE_REGIONS for SH7785.

When using URAM in NUMA mode another active region is needed.
Bump this up so we don't trigger the region truncation in
add_active_range().
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 f72abd0a
......@@ -317,7 +317,8 @@ config ARCH_SPARSEMEM_DEFAULT
config MAX_ACTIVE_REGIONS
int
default "6" if (CPU_SUBTYPE_SHX3 && SPARSEMEM)
default "2" if (CPU_SUBTYPE_SH7722 && SPARSEMEM)
default "2" if SPARSEMEM && (CPU_SUBTYPE_SH7722 || \
CPU_SUBTYPE_SH7785)
default "1"
config ARCH_POPULATES_NODE_MAP
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册