]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Get rid of unneeded force parameter in irq_finalize_oneshot()
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 21 Mar 2012 16:22:35 +0000 (17:22 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 29 Mar 2012 09:31:53 +0000 (11:31 +0200)
commitda69cb6ade273d285cf6b9690410c4577000c828
treeea1bd43fbd35efcf914b1717f7eca605478670a9
parentb569beaf33aa7e24dfdd80f7ade94ef799e36e84
genirq: Get rid of unneeded force parameter in irq_finalize_oneshot()

The only place irq_finalize_oneshot() is called with force parameter set
is the threaded handler error exit path. But IRQTF_RUNTHREAD is dropped
at this point and irq_wake_thread() is not going to set it again,
since PF_EXITING is set for this thread already. So irq_finalize_oneshot()
will drop the threads bit in threads_oneshot anyway and hence the force
parameter is superfluous.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Link: http://lkml.kernel.org/r/20120321162234.GP24806@dhcp-26-207.brq.redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c