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
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
---
2 matches
Mail list logo