diff options
-rw-r--r-- | arch/x86/include/asm/traps.h | 1 | ||||
-rw-r--r-- | arch/x86/kernel/traps.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index 58d66fe06b61..a7b212db9e04 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h | |||
@@ -98,7 +98,6 @@ static inline int get_si_code(unsigned long condition) | |||
98 | 98 | ||
99 | extern int panic_on_unrecovered_nmi; | 99 | extern int panic_on_unrecovered_nmi; |
100 | 100 | ||
101 | void math_error(struct pt_regs *, int, int); | ||
102 | void math_emulate(struct math_emu_info *); | 101 | void math_emulate(struct math_emu_info *); |
103 | #ifndef CONFIG_X86_32 | 102 | #ifndef CONFIG_X86_32 |
104 | asmlinkage void smp_thermal_interrupt(void); | 103 | asmlinkage void smp_thermal_interrupt(void); |
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 57409f6b8c62..8eddd628326e 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c | |||
@@ -488,7 +488,7 @@ exit: | |||
488 | * the correct behaviour even in the presence of the asynchronous | 488 | * the correct behaviour even in the presence of the asynchronous |
489 | * IRQ13 behaviour | 489 | * IRQ13 behaviour |
490 | */ | 490 | */ |
491 | void math_error(struct pt_regs *regs, int error_code, int trapnr) | 491 | static void math_error(struct pt_regs *regs, int error_code, int trapnr) |
492 | { | 492 | { |
493 | struct task_struct *task = current; | 493 | struct task_struct *task = current; |
494 | siginfo_t info; | 494 | siginfo_t info; |