]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6ff05a9154c1e7c8582ae2776d1d096668b256c
tree1a5bd7df0364b7fbbb0452b80376c496838e3656
parentab3d3f62fc04ecf93f488df6c06d0dc2d601619b
alpha: math-emu: Fix modular build

Commit 781a718a2321 ("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: 781a718a2321 ("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