diff options
author | 2017-07-19 01:02:04 +0100 | |
---|---|---|
committer | 2017-09-04 12:04:34 -0700 | |
commit | d9e3cb2f9ed91020b780ee662bdec692a3f276c9 (patch) | |
tree | 1a5bd7df0364b7fbbb0452b80376c496838e3656 /arch/alpha/kernel/traps.c | |
parent | alpha: Restore symbol versions for symbols exported from assembly (diff) | |
download | linux-d9e3cb2f9ed91020b780ee662bdec692a3f276c9.tar.gz linux-d9e3cb2f9ed91020b780ee662bdec692a3f276c9.tar.bz2 linux-d9e3cb2f9ed91020b780ee662bdec692a3f276c9.zip |
alpha: math-emu: Fix modular build
Commit 00fc0e0dda62 ("alpha: move exports to actual definitions") also
removed the exports of the math emulator hooks, which are defined in C
code. In case anyone cares about the option of CONFIG_MATHEMU=m, add
exports next to those definitions. Also add a MODULE_LICENSE.
Fixes: 00fc0e0dda62 ("alpha: move exports to actual definitions")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/traps.c')
-rw-r--r-- | arch/alpha/kernel/traps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/kernel/traps.c b/arch/alpha/kernel/traps.c index 65bb102d985b..ddb89a18cf26 100644 --- a/arch/alpha/kernel/traps.c +++ b/arch/alpha/kernel/traps.c @@ -193,8 +193,10 @@ die_if_kernel(char * str, struct pt_regs *regs, long err, unsigned long *r9_15) static long dummy_emul(void) { return 0; } long (*alpha_fp_emul_imprecise)(struct pt_regs *regs, unsigned long writemask) = (void *)dummy_emul; +EXPORT_SYMBOL_GPL(alpha_fp_emul_imprecise); long (*alpha_fp_emul) (unsigned long pc) = (void *)dummy_emul; +EXPORT_SYMBOL_GPL(alpha_fp_emul); #else long alpha_fp_emul_imprecise(struct pt_regs *regs, unsigned long writemask); long alpha_fp_emul (unsigned long pc); |