summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-07 08:58:22 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-10-04 20:27:07 +0300
commit11129e8ed4d91a062c5062d80f476adc7fbedbac (patch)
tree1c841fd1fc654b83ce5a0fef18e4238d52f6cc47 /arch/riscv/Kconfig
parent3c57fa13f6bf3906643034c57736c778ce63fa55 (diff)
downloadlinux-11129e8ed4d91a062c5062d80f476adc7fbedbac.tar.xz
riscv: use memcpy based uaccess for nommu again
This reverts commit adccfb1a805ea84d2db38eb53032533279bdaa97. Now that the generic uaccess by mempcy code handles unaligned addresses the generic code can be used for all RISC-V CPUs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 08c48bb6f6e2..1046ee7c0ccf 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -88,6 +88,7 @@ config RISCV
select SYSCTL_EXCEPTION_TRACE
select THREAD_INFO_IN_TASK
select SET_FS
+ select UACCESS_MEMCPY if !MMU
config ARCH_MMAP_RND_BITS_MIN
default 18 if 64BIT