[PATCH] x86, io_apic: Fix number of pre-allocated irqs

2013-04-30 Thread David Cohen
arch_probe_nr_irqs() has a typo when returning number of preallocated irqs. Instead of returning the calculated value, it returns a constant number NR_IRQ_LEGACY. This patch makes sure the calculated value is returned intead. Signed-off-by: David Cohen --- arch/x86/kernel/apic/io_apic.c |2

[PATCH] x86, io_apic: Fix number of pre-allocated irqs

2013-04-30 Thread David Cohen
arch_probe_nr_irqs() has a typo when returning number of preallocated irqs. Instead of returning the calculated value, it returns a constant number NR_IRQ_LEGACY. This patch makes sure the calculated value is returned intead. Signed-off-by: David Cohen david.a.co...@intel.com ---