kernel-ark/kernel/irq
Yinghai Lu 2c6927a38f irq: replace loop with nr_irqs with for_each_irq_desc
There are a handful of loops that go from 0 to nr_irqs and use
get_irq_desc() on them. These would allocate all the irq_desc
entries, regardless of the need for them.

Use the smarter for_each_irq_desc() iterator that will only iterate
over the present ones.

v2: make sure arch without GENERIC_HARDIRQS work too

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-16 16:52:33 +02:00
..
autoprobe.c irq: sparse irqs, fix IRQ auto-probe crash 2008-10-16 16:52:30 +02:00
chip.c x86: move kstat_irqs from kstat to irq_desc 2008-10-16 16:52:32 +02:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c irq: add irq_desc_without_new 2008-10-16 16:52:32 +02:00
internals.h irq: replace loop with nr_irqs with for_each_irq_desc 2008-10-16 16:52:33 +02:00
Makefile
manage.c irq: replace loop with nr_irqs with for_each_irq_desc 2008-10-16 16:52:33 +02:00
migration.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
proc.c irq: replace loop with nr_irqs with for_each_irq_desc 2008-10-16 16:52:33 +02:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00