summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/traps.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-05-07 11:38:08 +0200
committerBorislav Petkov <bp@suse.de>2015-05-07 11:38:08 +0200
commit8cd161b1f755decd8b7f6c9c7144119281fe11a4 (patch)
tree25cd36495898d0f64e9cd7435c0f6a734352de46 /arch/x86/kernel/traps.c
parent868c00bb5980653c44d931384baa2c7f1bde81ef (diff)
downloadlinux-8cd161b1f755decd8b7f6c9c7144119281fe11a4.tar.bz2
x86/traps: Remove superfluous weak definitions and dead code
Those were leftovers of the x86 merge, see 081f75bbdc86 ("traps: x86: make traps_32.c and traps_64.c equal") for example and are not needed now. Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r--arch/x86/kernel/traps.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 68b1d5979a46..2768bb663f94 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -813,23 +813,6 @@ dotraplinkage void
do_spurious_interrupt_bug(struct pt_regs *regs, long error_code)
{
conditional_sti(regs);
-#if 0
- /* No need to warn about this any longer. */
- pr_info("Ignoring P6 Local APIC Spurious Interrupt Bug...\n");
-#endif
-}
-
-asmlinkage __visible void __attribute__((weak)) smp_thermal_interrupt(void)
-{
-}
-
-asmlinkage __visible void __attribute__((weak)) smp_threshold_interrupt(void)
-{
-}
-
-asmlinkage __visible void __attribute__((weak))
-smp_deferred_error_interrupt(void)
-{
}
/*