]> Pileus Git - ~andy/linux/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)
commit7adf579c8babf62026e6aab1dee85e6b104d9936
tree23b3c94b6f97ecee2b7f6eea3f10871d737506c2
parent828dc9da50f9632bbc5bc9dfa510619d13135015
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