summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/riscv_ksyms.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2017-11-29 17:55:16 -0800
committerPalmer Dabbelt <palmer@sifive.com>2017-11-30 10:01:10 -0800
commit24948b7ec0f31d36dc900088b140c4f9551b6f56 (patch)
tree2780c30a0db0a18e2509e999cc61846c2d5efbe3 /arch/riscv/kernel/riscv_ksyms.c
parent83e7b8769a08987f47117f3a065de153c839a0a8 (diff)
downloadlinux-next-24948b7ec0f31d36dc900088b140c4f9551b6f56.tar.gz
RISC-V: Export some expected symbols for modules
These are the ones needed by current allmodconfig, so add them instead of everything other architectures are exporting -- the rest can be added on demand later if needed. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/kernel/riscv_ksyms.c')
-rw-r--r--arch/riscv/kernel/riscv_ksyms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/kernel/riscv_ksyms.c b/arch/riscv/kernel/riscv_ksyms.c
index 23cc81ec9e94..551734248748 100644
--- a/arch/riscv/kernel/riscv_ksyms.c
+++ b/arch/riscv/kernel/riscv_ksyms.c
@@ -12,4 +12,7 @@
/*
* Assembly functions that may be used (directly or indirectly) by modules
*/
+EXPORT_SYMBOL(__clear_user);
EXPORT_SYMBOL(__copy_user);
+EXPORT_SYMBOL(memset);
+EXPORT_SYMBOL(memcpy);