diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:18 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:51 -0400 |
commit | 67fb283e148e9bd761f73691d3173b6eab9ba8db (patch) | |
tree | 88ba8337dc5bc90e5f95d84d981f750bb7173dd2 /include/linux/irq.h | |
parent | cb5bc83225a86ca53bbb889ed8439e4fd6cf44ac (diff) |
irq: separate sparse_irqs from sparse_irqs_free
so later don't need compare with -1U
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 5fe1b01c11fe..d5749852ee69 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -211,7 +211,7 @@ extern struct irq_desc *irq_desc; | |||
211 | 211 | ||
212 | extern struct irq_desc *sparse_irqs; | 212 | extern struct irq_desc *sparse_irqs; |
213 | #define for_each_irq_desc(irqX, desc) \ | 213 | #define for_each_irq_desc(irqX, desc) \ |
214 | for (desc = sparse_irqs, irqX = desc->irq; desc && irqX != -1U; desc = desc->next, irqX = desc ? desc->irq : -1U) | 214 | for (desc = sparse_irqs, irqX = desc->irq; desc; desc = desc->next, irqX = desc ? desc->irq : -1U) |
215 | 215 | ||
216 | #endif | 216 | #endif |
217 | 217 | ||