]> 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>
Tue, 13 Apr 2021 22:21:44 +0000 (08:21 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Apr 2021 11:48:53 +0000 (21:48 +1000)
commit7c04b80ea9225b9acb483403add61169827546e2
tree77fb4ddee6a98bfb77c3d13b849fc9e39ab73c1a
parent92b53878080a1315d3d30e68d027fabe22b9fbf3
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