* [PATCH] ARM: S5PC210: Use nr_irqs instead of NR_IRQS
@ 2010-09-28 5:50 Kyungmin Park
0 siblings, 0 replies; only message in thread
From: Kyungmin Park @ 2010-09-28 5:50 UTC (permalink / raw)
To: linux-arm-kernel
From: Kyungmin Park <kyungmin.park@samsung.com>
Don't use the NR_IRQS at code. It makes hard to work sparse IRQ.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/arch/arm/mach-s5pv310/irq-combiner.c b/arch/arm/mach-s5pv310/irq-combiner.c
index 0f70521..1bb38bf 100644
--- a/arch/arm/mach-s5pv310/irq-combiner.c
+++ b/arch/arm/mach-s5pv310/irq-combiner.c
@@ -73,7 +73,7 @@ static void combiner_handle_cascade_irq(unsigned int irq, struct irq_desc *desc)
}
cascade_irq = combiner_irq + (chip_data->irq_offset & ~31);
- if (unlikely(cascade_irq >= NR_IRQS))
+ if (unlikely(cascade_irq >= nr_irqs))
do_bad_IRQ(cascade_irq, desc);
else
generic_handle_irq(cascade_irq);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-28 5:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 5:50 [PATCH] ARM: S5PC210: Use nr_irqs instead of NR_IRQS Kyungmin Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox