diff options
author | Thomas Gleixner <[email protected]> | 2017-08-28 08:47:19 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-29 11:42:21 +0200 |
commit | 9aec458ff07323f6593fd718cc33b1bca2f64597 (patch) | |
tree | 4aec48fd6dc39b4486a0bdcd588dd12f380ac285 | |
parent | 05161b9cbe553c41cf775ac41bb5120d94347e5c (diff) |
x86/irq: Remove duplicated used_vectors definition
Also remove the unparseable comment in the other place while at it.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/x86/include/asm/desc.h | 1 | ||||
-rw-r--r-- | arch/x86/include/asm/irq.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h index a7f36ab1c07d..71094f208673 100644 --- a/arch/x86/include/asm/desc.h +++ b/arch/x86/include/asm/desc.h @@ -483,7 +483,6 @@ static inline void _set_gate(int gate, unsigned type, void *addr, 0, 0, __KERNEL_CS); \ } while (0) -/* used_vectors is BITMAP for irq is not managed by percpu vector_irq */ extern unsigned long used_vectors[]; static inline void alloc_system_vector(int vector) diff --git a/arch/x86/include/asm/irq.h b/arch/x86/include/asm/irq.h index ce991689843f..9958ceea2fa3 100644 --- a/arch/x86/include/asm/irq.h +++ b/arch/x86/include/asm/irq.h @@ -42,9 +42,6 @@ extern bool handle_irq(struct irq_desc *desc, struct pt_regs *regs); extern __visible unsigned int do_IRQ(struct pt_regs *regs); -/* Interrupt vector management */ -extern DECLARE_BITMAP(used_vectors, NR_VECTORS); - extern void init_ISA_irqs(void); #ifdef CONFIG_X86_LOCAL_APIC |