[PATCH 45/58] x86: Fix prototype for renamed function smp_threshold_interrupt

From: Josh Triplett
Date: Mon Nov 19 2012 - 00:32:11 EST


Commit 7856f6cce4a8cda8c1f94b99605c07d16b8d8dec renamed
mce_threshold_interrupt to smp_threshold_interrupt, but did not update
the prototype in arch/x86/include/asm/traps.h to match. Update the
prototype to the new name.

This also eliminates warnings from GCC (-Wmissing-prototypes) and Sparse
(-Wdecl).

arch/x86/kernel/traps.c:597:29: warning: no previous prototype for âsmp_threshold_interruptâ [-Wmissing-prototypes]

Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
---
arch/x86/include/asm/traps.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h
index 88eae2a..914309a 100644
--- a/arch/x86/include/asm/traps.h
+++ b/arch/x86/include/asm/traps.h
@@ -86,7 +86,7 @@ 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);
-asmlinkage void mce_threshold_interrupt(void);
+asmlinkage void smp_threshold_interrupt(void);
#endif

/* Interrupts/Exceptions */
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/