summaryrefslogtreecommitdiffstats
path: root/arch/riscv/lib
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2017-11-30 02:55:16 +0100
committerPalmer Dabbelt <palmer@sifive.com>2017-11-30 19:01:10 +0100
commit24948b7ec0f31d36dc900088b140c4f9551b6f56 (patch)
tree2780c30a0db0a18e2509e999cc61846c2d5efbe3 /arch/riscv/lib
parentRISC-V: move empty_zero_page definition to C and export it (diff)
downloadlinux-24948b7ec0f31d36dc900088b140c4f9551b6f56.tar.xz
linux-24948b7ec0f31d36dc900088b140c4f9551b6f56.zip
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/lib')
-rw-r--r--arch/riscv/lib/delay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/lib/delay.c b/arch/riscv/lib/delay.c
index 1cc4ac3964b4..dce8ae24c6d3 100644
--- a/arch/riscv/lib/delay.c
+++ b/arch/riscv/lib/delay.c
@@ -84,6 +84,7 @@ void __delay(unsigned long cycles)
while ((unsigned long)(get_cycles() - t0) < cycles)
cpu_relax();
}
+EXPORT_SYMBOL(__delay);
void udelay(unsigned long usecs)
{