summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/traps.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-05-08 20:34:00 +0200
committerOleg Nesterov <oleg@redhat.com>2014-05-14 13:57:26 +0200
commit5e1b05beeca8139204324581a5b1ffb53d057f96 (patch)
tree2a2c7fd58f2085e25be3ee324bf0b4dea7d87a78 /arch/x86/kernel/traps.c
parent1ea30fb64598bd3a6ba43d874bb53c55878eaef5 (diff)
x86/traps: Make math_error() static
Trivial, make math_error() static. Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r--arch/x86/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 57409f6b8c6..8eddd628326 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -488,7 +488,7 @@ exit:
* the correct behaviour even in the presence of the asynchronous
* IRQ13 behaviour
*/
-void math_error(struct pt_regs *regs, int error_code, int trapnr)
+static void math_error(struct pt_regs *regs, int error_code, int trapnr)
{
struct task_struct *task = current;
siginfo_t info;