]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: use a tasklet for handling received messages
authorCorey Minyard <cminyard@mvista.com>
Wed, 28 Mar 2012 21:42:49 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Mar 2012 00:14:36 +0000 (17:14 -0700)
commit6519c0372def1015d596048520da49f3fef8cae6
tree23b3c94b6f97ecee2b7f6eea3f10871d737506c2
parent38f455a961d0524f4283842f38e13960ed5ad3b1
ipmi: use a tasklet for handling received messages

The IPMI driver would release a lock, deliver a message, then relock.
This is obviously ugly, and this patch converts the message handler
interface to use a tasklet to schedule work.  This lets the receive
handler be called from an interrupt handler with interrupts enabled.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c