summaryrefslogtreecommitdiffstats
path: root/arch/alpha/math-emu
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2017-07-19 01:02:04 +0100
committerMatt Turner <mattst88@gmail.com>2017-09-04 12:04:34 -0700
commitd9e3cb2f9ed91020b780ee662bdec692a3f276c9 (patch)
tree1a5bd7df0364b7fbbb0452b80376c496838e3656 /arch/alpha/math-emu
parent873f9b5bcbf27f6e89e1879714abe4532cacf5d7 (diff)
downloadlinux-d9e3cb2f9ed91020b780ee662bdec692a3f276c9.tar.bz2
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/math-emu')
-rw-r--r--arch/alpha/math-emu/math.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/math-emu/math.c b/arch/alpha/math-emu/math.c
index d17d705f6545..1c2d456da7f2 100644
--- a/arch/alpha/math-emu/math.c
+++ b/arch/alpha/math-emu/math.c
@@ -53,6 +53,7 @@ extern void alpha_write_fp_reg_s (unsigned long reg, unsigned long val);
#ifdef MODULE
MODULE_DESCRIPTION("FP Software completion module");
+MODULE_LICENSE("GPL v2");
extern long (*alpha_fp_emul_imprecise)(struct pt_regs *, unsigned long);
extern long (*alpha_fp_emul) (unsigned long pc);