提交 8cd161b1 编写于 作者: B Borislav Petkov

x86/traps: Remove superfluous weak definitions and dead code

Those were leftovers of the x86 merge, see

  081f75bb ("traps: x86: make traps_32.c and traps_64.c equal")

for example and are not needed now.
Signed-off-by: NBorislav Petkov <bp@suse.de>
上级 868c00bb
...@@ -813,23 +813,6 @@ dotraplinkage void ...@@ -813,23 +813,6 @@ dotraplinkage void
do_spurious_interrupt_bug(struct pt_regs *regs, long error_code) do_spurious_interrupt_bug(struct pt_regs *regs, long error_code)
{ {
conditional_sti(regs); 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)
{
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册