diff options
author | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-07-09 21:51:17 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-12-11 23:28:19 +0300 |
commit | 78ed473c76192ab7b8e96c5948cca82db4c744fe (patch) | |
tree | 93869b6fe187de10320705ee76b60829e691e391 /arch/riscv | |
parent | 527701eda5f196588df9b36a30651804fea7d1a7 (diff) | |
download | linux-78ed473c76192ab7b8e96c5948cca82db4c744fe.tar.xz |
RISC-V: Use the new generic devmem_is_allowed()
This allows us to enable STRICT_DEVMEM.
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 7766e1289468..669a65d8f1d4 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -42,6 +42,7 @@ config RISCV select GENERIC_IOREMAP select GENERIC_IRQ_MULTI_HANDLER select GENERIC_IRQ_SHOW + select GENERIC_LIB_DEVMEM_IS_ALLOWED select GENERIC_PCI_IOMAP select GENERIC_PTDUMP if MMU select GENERIC_SCHED_CLOCK |