aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm/init.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-02-12 19:34:24 +0900
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-03-04 10:38:17 -0800
commitaa2734202acc506d09c8e641db4da161f902df27 (patch)
tree70a20d2fbc3959883cff145d8e097a2c96ba0b98 /arch/riscv/mm/init.c
parentriscv: Change code model of module to medany to improve data accessing (diff)
downloadlinux-dev-aa2734202acc506d09c8e641db4da161f902df27.tar.xz
linux-dev-aa2734202acc506d09c8e641db4da161f902df27.zip
riscv: Force flat memory model with no-mmu
Compilation errors trigger if ARCH_SPARSEMEM_ENABLE is enabled for a nommu kernel. Since the sparsemem model does not make sense anyway for the nommu case, do not allow selecting this option to always use the flatmem model. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions