]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
x86/traps: Make math_error() static
authorOleg Nesterov <oleg@redhat.com>
Thu, 8 May 2014 18:34:00 +0000 (20:34 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 14 May 2014 11:57:26 +0000 (13:57 +0200)
Trivial, make math_error() static.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
arch/x86/include/asm/traps.h
arch/x86/kernel/traps.c

index 58d66fe06b6170ad31fd6097e01505d321d23c46..a7b212db9e04c65caaa8b89ff0b1d9ad9a0b4d39 100644 (file)
@@ -98,7 +98,6 @@ static inline int get_si_code(unsigned long condition)
 
 extern int panic_on_unrecovered_nmi;
 
-void math_error(struct pt_regs *, int, int);
 void math_emulate(struct math_emu_info *);
 #ifndef CONFIG_X86_32
 asmlinkage void smp_thermal_interrupt(void);
index 57409f6b8c623e38c1a60dfa1029bb9d194c99e6..8eddd628326e1738757dc37ef104732990853bb2 100644 (file)
@@ -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;