OSDN Git Service

alpha: math-emu: Fix modular build
authorBen Hutchings <ben@decadent.org.uk>
Wed, 19 Jul 2017 00:02:04 +0000 (01:02 +0100)
committerMatt Turner <mattst88@gmail.com>
Mon, 4 Sep 2017 19:04:34 +0000 (12:04 -0700)
commitd9e3cb2f9ed91020b780ee662bdec692a3f276c9
tree1a5bd7df0364b7fbbb0452b80376c496838e3656
parent873f9b5bcbf27f6e89e1879714abe4532cacf5d7
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>
arch/alpha/kernel/traps.c
arch/alpha/math-emu/math.c