[patch V2 04/44] x86/irq: Remove duplicated used_vectors definition

From: Thomas Gleixner
Date: Fri Aug 25 2017 - 17:57:39 EST


Remove the unparseable comment in the other place while at it.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
arch/x86/include/asm/desc.h | 1 -
arch/x86/include/asm/irq.h | 3 ---
2 files changed, 4 deletions(-)

--- 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, u
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)
--- 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 *

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