diff options
author | Nicolai Stange <nicstange@gmail.com> | 2016-02-08 20:43:02 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-02-25 04:39:15 -0500 |
commit | d89abe2a1f0c92499eedc815e4a9b2881f4959a5 (patch) | |
tree | 05c253a2cfc64c9df27a0602a5027d3df1d2627f | |
parent | 6a6256f9e0ebaabf7ded1fef8977a4352dbe7784 (diff) |
arch/x86/irq: Purge useless handler declarations from hw_irq.h
arch/x86/include/asm/hw_irq.h contains declarations for the C-level handlers
called into directly from the IDT-referenced assembly stubs. These
declarations are never used as they are referenced from assembly only.
Furthermore, these declarations got their attributes wrong: there is no
'__irqentry' (parameter passing via stack) attached to them.
Also, the list of declarations isn't complete: none of the tracing-capable
variants is declared, for example.
Purge the handler declarations.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/include/asm/hw_irq.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index 1815b736269d..f564d2b2275f 100644 --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h | |||
@@ -168,20 +168,6 @@ extern atomic_t irq_mis_count; | |||
168 | 168 | ||
169 | extern void elcr_set_level_irq(unsigned int irq); | 169 | extern void elcr_set_level_irq(unsigned int irq); |
170 | 170 | ||
171 | /* SMP */ | ||
172 | extern __visible void smp_apic_timer_interrupt(struct pt_regs *); | ||
173 | extern __visible void smp_spurious_interrupt(struct pt_regs *); | ||
174 | extern __visible void smp_x86_platform_ipi(struct pt_regs *); | ||
175 | extern __visible void smp_error_interrupt(struct pt_regs *); | ||
176 | #ifdef CONFIG_X86_IO_APIC | ||
177 | extern asmlinkage void smp_irq_move_cleanup_interrupt(void); | ||
178 | #endif | ||
179 | #ifdef CONFIG_SMP | ||
180 | extern __visible void smp_reschedule_interrupt(struct pt_regs *); | ||
181 | extern __visible void smp_call_function_interrupt(struct pt_regs *); | ||
182 | extern __visible void smp_call_function_single_interrupt(struct pt_regs *); | ||
183 | #endif | ||
184 | |||
185 | extern char irq_entries_start[]; | 171 | extern char irq_entries_start[]; |
186 | #ifdef CONFIG_TRACING | 172 | #ifdef CONFIG_TRACING |
187 | #define trace_irq_entries_start irq_entries_start | 173 | #define trace_irq_entries_start irq_entries_start |