summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/riscv_ksyms.c
diff options
context:
space:
mode:
authorNylon Chen <nylon7@andestech.com>2020-11-30 10:13:19 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-12-11 02:27:54 +0100
commit04091d6c0535f6dc82af864ab56425235c6581a4 (patch)
treed66795c6f1eb1eb6fc98443b5a9209ee93069c74 /arch/riscv/kernel/riscv_ksyms.c
parentRISC-V: Move dynamic relocation section under __init (diff)
downloadlinux-04091d6c0535f6dc82af864ab56425235c6581a4.tar.xz
linux-04091d6c0535f6dc82af864ab56425235c6581a4.zip
riscv: provide memmove implementation
The memmove used by the kernel feature like KASAN. Signed-off-by: Nick Hu <nickhu@andestech.com> Signed-off-by: Nick Hu <nick650823@gmail.com> Signed-off-by: Nylon Chen <nylon7@andestech.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kernel/riscv_ksyms.c')
-rw-r--r--arch/riscv/kernel/riscv_ksyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/kernel/riscv_ksyms.c b/arch/riscv/kernel/riscv_ksyms.c
index 450492e1cb4e..5ab1c7e1a6ed 100644
--- a/arch/riscv/kernel/riscv_ksyms.c
+++ b/arch/riscv/kernel/riscv_ksyms.c
@@ -11,5 +11,7 @@
*/
EXPORT_SYMBOL(memset);
EXPORT_SYMBOL(memcpy);
+EXPORT_SYMBOL(memmove);
EXPORT_SYMBOL(__memset);
EXPORT_SYMBOL(__memcpy);
+EXPORT_SYMBOL(__memmove);