]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv/Kconfig: make direct map manipulation options depend on MMU
authorMike Rapoport <rppt@linux.ibm.com>
Thu, 22 Apr 2021 06:43:26 +0000 (16:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 May 2021 01:46:46 +0000 (11:46 +1000)
commita4ca46b0e40198813a5c2d0933cbef7cdfa13a75
treecc416053f5ffd4e027cb47c43d7e34719baa2278
parent2f7d9c142f492c8c279ab5f846cf596c630fabae
riscv/Kconfig: make direct map manipulation options depend on MMU

ARCH_HAS_SET_DIRECT_MAP and ARCH_HAS_SET_MEMORY configuration options have
no meaning when CONFIG_MMU is disabled and there is no point to enable
them for the nommu case.

Add an explicit dependency on MMU for these options.

Link: https://lkml.kernel.org/r/20210303162209.8609-4-rppt@kernel.org
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/riscv/Kconfig