x86/irq: Remove duplicated used_vectors definition
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Aug 2017 06:47:19 +0000 (08:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2017 09:42:21 +0000 (11:42 +0200)
Also remove the unparseable comment in the other place while at it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170828064956.436711634@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/desc.h
arch/x86/include/asm/irq.h

index a7f36ab1c07d484b0061099db52003207427697f..71094f208673fae2bcff6973bb619f9e6de762f2 100644 (file)
@@ -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)
index ce991689843f5e85ee3213e76d431bee6ad8fcb7..9958ceea2fa3c7bd3b48571eaf9d35fb82b6afd4 100644 (file)
@@ -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