summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2019-11-08 16:36:08 +0100
committerMatt Turner <mattst88@gmail.com>2021-07-26 05:55:40 +0200
commite4b016f4b44176807e545fd437cd519b6380e86f (patch)
tree2e63e27b92eed50ba3326bc4b7ea4854e090126b /arch/alpha
parentLinux 5.14-rc3 (diff)
downloadlinux-e4b016f4b44176807e545fd437cd519b6380e86f.tar.xz
linux-e4b016f4b44176807e545fd437cd519b6380e86f.zip
alpha: __udiv_qrnnd should be exported
When building an alpha kernel with mpi set as module, I hit this build error: ERROR: "__udiv_qrnnd" [lib/mpi/mpi.ko] undefined! make[2]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make[1]: *** [Makefile:1266: modules] Error 2 This is due to __udiv_qrnnd not exported. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/math-emu/math.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/math-emu/math.c b/arch/alpha/math-emu/math.c
index d568cd9a3e43..5617ac0889b8 100644
--- a/arch/alpha/math-emu/math.c
+++ b/arch/alpha/math-emu/math.c
@@ -401,3 +401,5 @@ alpha_fp_emul_imprecise (struct pt_regs *regs, unsigned long write_mask)
egress:
return si_code;
}
+
+EXPORT_SYMBOL(__udiv_qrnnd);