Skip to content

Commit

Permalink
alpha: __udiv_qrnnd should be exported
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Corentin Labbe authored and Matt Turner committed Jul 26, 2021
1 parent ff11764 commit e4b016f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/alpha/math-emu/math.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,3 +401,5 @@ alpha_fp_emul_imprecise (struct pt_regs *regs, unsigned long write_mask)
egress:
return si_code;
}

EXPORT_SYMBOL(__udiv_qrnnd);

0 comments on commit e4b016f

Please sign in to comment.