Commit 18a67d32 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86, irq: Remove pointless irq_reserve_irqs() call



That's a leftover from the time where x86 supported SPARSE_IRQ=n.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarGrant Likely <grant.likely@linaro.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: x86@kernel.org
Link: http://lkml.kernel.org/r/20140507154338.967285614@linutronix.de


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent e8784e4f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -206,9 +206,6 @@ int __init arch_early_irq_init(void)
	count = ARRAY_SIZE(irq_cfgx);
	node = cpu_to_node(0);

	/* Make sure the legacy interrupts are marked in the bitmap */
	irq_reserve_irqs(0, legacy_pic->nr_legacy_irqs);

	for (i = 0; i < count; i++) {
		irq_set_chip_data(i, &cfg[i]);
		zalloc_cpumask_var_node(&cfg[i].domain, GFP_KERNEL, node);