]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
riscv: Disable ARCH_HAS_DEBUG_VIRTUAL if NOMMU
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 11 May 2020 02:19:57 +0000 (10:19 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 13 May 2020 00:22:03 +0000 (17:22 -0700)
DEBUG_VIRTUAL should only used when MMU enabled, add the dependence.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig

index 74f82cf4f7816b99fc54155fd40dcf4d40cbf956..24f5a834547728c316bc02914409d4ae38a91f4b 100644 (file)
@@ -54,7 +54,7 @@ config RISCV
        select GENERIC_ARCH_TOPOLOGY if SMP
        select ARCH_HAS_PTE_SPECIAL
        select ARCH_HAS_MMIOWB
-       select ARCH_HAS_DEBUG_VIRTUAL
+       select ARCH_HAS_DEBUG_VIRTUAL if MMU
        select HAVE_EBPF_JIT if MMU
        select EDAC_SUPPORT
        select ARCH_HAS_GIGANTIC_PAGE