From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752566AbdH2LJ7 (ORCPT ); Tue, 29 Aug 2017 07:09:59 -0400 Received: from terminus.zytor.com ([65.50.211.136]:40469 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbdH2LJ5 (ORCPT ); Tue, 29 Aug 2017 07:09:57 -0400 Date: Tue, 29 Aug 2017 04:05:16 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: rostedt@goodmis.org, bp@alien8.de, mingo@kernel.org, torvalds@linux-foundation.org, tglx@linutronix.de, luto@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, hpa@zytor.com Reply-To: hpa@zytor.com, linux-kernel@vger.kernel.org, peterz@infradead.org, luto@kernel.org, tglx@linutronix.de, torvalds@linux-foundation.org, mingo@kernel.org, bp@alien8.de, rostedt@goodmis.org In-Reply-To: <20170828064956.436711634@linutronix.de> References: <20170828064956.436711634@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/apic] x86/irq: Remove duplicated used_vectors definition Git-Commit-ID: 9aec458ff07323f6593fd718cc33b1bca2f64597 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 9aec458ff07323f6593fd718cc33b1bca2f64597 Gitweb: http://git.kernel.org/tip/9aec458ff07323f6593fd718cc33b1bca2f64597 Author: Thomas Gleixner AuthorDate: Mon, 28 Aug 2017 08:47:19 +0200 Committer: Ingo Molnar CommitDate: Tue, 29 Aug 2017 11:42:21 +0200 x86/irq: Remove duplicated used_vectors definition Also remove the unparseable comment in the other place while at it. Signed-off-by: Thomas Gleixner Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/20170828064956.436711634@linutronix.de Signed-off-by: Ingo Molnar --- arch/x86/include/asm/desc.h | 1 - arch/x86/include/asm/irq.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h index a7f36ab..71094f2 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 ce99168..9958cee 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