]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Force flat memory model with no-mmu
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 12 Feb 2020 10:34:24 +0000 (19:34 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 4 Mar 2020 18:38:17 +0000 (10:38 -0800)
commitc058fab9c06bfadb94fd543b2d5144c16bd90dc9
tree70a20d2fbc3959883cff145d8e097a2c96ba0b98
parent6928404121f21c3c6449d9dea0d118dbd47762c9
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>
arch/riscv/Kconfig