genirq: Use a common macro to go through the actions list
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 14 Jan 2016 09:54:13 +0000 (10:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 14 Feb 2016 23:07:34 +0000 (00:07 +0100)
commitf944b5a7aff05a244a6c8cac297819af09a199e4
tree4f0af25234339850aea59022f6a63fbd19a9600c
parentfbf198030e0b027538c290300cfaf9e2efdce122
genirq: Use a common macro to go through the actions list

The irq code browses the list of actions differently to inspect the element
one by one. Even if it is not a problem, for the sake of consistent code,
provide a macro similar to for_each_irq_desc in order to have the same loop to
go through the actions list and use it in the code.

[ tglx: Renamed the macro ]

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/1452765253-31148-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/handle.c
kernel/irq/internals.h
kernel/irq/manage.c
kernel/irq/proc.c
kernel/irq/spurious.c