diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2012-03-21 17:22:13 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-03-29 11:31:52 +0200 |
commit | 69592db298e400a7c175c4dfbe7a086c783f349d (patch) | |
tree | cd6b3b24af6996612331ebf8cd9fb749c2d19f24 /kernel/irq/manage.c | |
parent | b5174fa3a7f4f8f150bfa3b917c92608953dfa0f (diff) | |
download | op-kernel-dev-69592db298e400a7c175c4dfbe7a086c783f349d.zip op-kernel-dev-69592db298e400a7c175c4dfbe7a086c783f349d.tar.gz |
genirq: Minor readablity improvement in irq_wake_thread()
exit_irq_thread() clears IRQTF_RUNTHREAD flag and drops the thread's bit in
desc->threads_oneshot then. The bit must not be set again in between and it
does not, since irq_wake_thread() sees PF_EXITING flag first and returns.
Due to above the order or checking PF_EXITING and IRQTF_RUNTHREAD flags in
irq_wake_thread() is important. This change just makes it more visible in the
source code.
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Link: http://lkml.kernel.org/r/20120321162212.GO24806@dhcp-26-207.brq.redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/manage.c')
0 files changed, 0 insertions, 0 deletions