diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-08-28 08:47:16 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-29 11:42:20 +0200 |
commit | 69de72ec6db950c436e36b94cf05eeb9e11ee144 (patch) | |
tree | f715c386a7b05836c1c1f431957f96338e649681 /arch/x86/kernel/irqinit.c | |
parent | 416b0c0faf634abc09568885cb95266ce669c606 (diff) | |
download | linux-stable-69de72ec6db950c436e36b94cf05eeb9e11ee144.tar.gz linux-stable-69de72ec6db950c436e36b94cf05eeb9e11ee144.tar.bz2 linux-stable-69de72ec6db950c436e36b94cf05eeb9e11ee144.zip |
x86/irq: Remove vector_used_by_percpu_irq()
Last user (lguest) is gone. Remove 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.201432430@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/irqinit.c')
-rw-r--r-- | arch/x86/kernel/irqinit.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c index c7fd18526c3e..6537cfe2cb1d 100644 --- a/arch/x86/kernel/irqinit.c +++ b/arch/x86/kernel/irqinit.c @@ -55,18 +55,6 @@ DEFINE_PER_CPU(vector_irq_t, vector_irq) = { [0 ... NR_VECTORS - 1] = VECTOR_UNUSED, }; -int vector_used_by_percpu_irq(unsigned int vector) -{ - int cpu; - - for_each_online_cpu(cpu) { - if (!IS_ERR_OR_NULL(per_cpu(vector_irq, cpu)[vector])) - return 1; - } - - return 0; -} - void __init init_ISA_irqs(void) { struct irq_chip *chip = legacy_pic->chip; |