Skip to contentSkip to conversation

alpha: __udiv_qrnnd should be exported

PATCH New Corentin Labbe 1 participant 1 message Nov 8, 2019 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/alpha/math-emu/math.c | 2 ++
 1 file changed, 2 insertions(+)
arch/alpha/math-emu/math.c +2 -0
index d568cd9a3e43..5617ac0889b8 100644
@@ -401,3 +401,5 @@ alpha_fp_emul_imprecise (struct pt_regs *regs, unsigned long write_mask)
 egress:
 	return si_code;
 }
+
+EXPORT_SYMBOL(__udiv_qrnnd);
Signature · 1 line
2.23.0