summaryrefslogtreecommitdiffstats
path: root/Documentation/hayes-esp.txt
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-20 05:50:11 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:52:33 +0200
commit2c6927a38f65b53b62f86158fba29a068c4e8b6a (patch)
tree4f23cf5689c8fbaed771219b4afd3f785d8048bc /Documentation/hayes-esp.txt
parentirq: add irq_desc_without_new (diff)
downloadlinux-2c6927a38f65b53b62f86158fba29a068c4e8b6a.tar.xz
linux-2c6927a38f65b53b62f86158fba29a068c4e8b6a.zip
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>
Diffstat (limited to 'Documentation/hayes-esp.txt')
0 files changed, 0 insertions, 0 deletions