diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-05-07 11:44:10 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-05-16 08:05:19 -0400 |
commit | d07c9f18756e8231909a9bbcbfa7502c60cbc810 (patch) | |
tree | f7d66979ff228b77c2f65bf1c477e1f92fed4a88 /arch/x86/kernel/apic/io_apic.c | |
parent | be47be6c28a83dd8b3c5540d0be3675af1ac7b2e (diff) |
x86: Get rid of get_nr_irqs_gsi()
No need to expose this outside of the ioapic code. The dynamic
allocations are guaranteed not to happen in the gsi space. See commit
62a08ae2a.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Grant Likely <grant.likely@linaro.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: x86@kernel.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xenproject.org
Link: http://lkml.kernel.org/r/20140507154335.959870037@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 3c17b25d159d..be3b5741badb 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -3450,11 +3450,6 @@ static void __init probe_nr_irqs_gsi(void) | |||
3450 | printk(KERN_DEBUG "nr_irqs_gsi: %d\n", nr_irqs_gsi); | 3450 | printk(KERN_DEBUG "nr_irqs_gsi: %d\n", nr_irqs_gsi); |
3451 | } | 3451 | } |
3452 | 3452 | ||
3453 | int get_nr_irqs_gsi(void) | ||
3454 | { | ||
3455 | return nr_irqs_gsi; | ||
3456 | } | ||
3457 | |||
3458 | unsigned int arch_dynirq_lower_bound(unsigned int from) | 3453 | unsigned int arch_dynirq_lower_bound(unsigned int from) |
3459 | { | 3454 | { |
3460 | return from < nr_irqs_gsi ? nr_irqs_gsi : from; | 3455 | return from < nr_irqs_gsi ? nr_irqs_gsi : from; |