diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-07 08:58:22 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-10-04 20:27:07 +0300 |
commit | 11129e8ed4d91a062c5062d80f476adc7fbedbac (patch) | |
tree | 1c841fd1fc654b83ce5a0fef18e4238d52f6cc47 /arch/riscv/lib | |
parent | 3c57fa13f6bf3906643034c57736c778ce63fa55 (diff) | |
download | linux-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/lib')
-rw-r--r-- | arch/riscv/lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/Makefile b/arch/riscv/lib/Makefile index 0d0db80800c4..47e7a8204460 100644 --- a/arch/riscv/lib/Makefile +++ b/arch/riscv/lib/Makefile @@ -2,5 +2,5 @@ lib-y += delay.o lib-y += memcpy.o lib-y += memset.o -lib-y += uaccess.o +lib-$(CONFIG_MMU) += uaccess.o lib-$(CONFIG_64BIT) += tishift.o |