From: Matthew Garrett Date: Wed, 26 May 2010 21:43:48 +0000 (-0700) Subject: ipmi: reduce polling when interrupts are available X-Git-Tag: v2.6.35-rc1~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea4078ca1a7a3a198e519c2a7a2ed6126e40b130;p=pandora-kernel.git ipmi: reduce polling when interrupts are available If we're not currently in the middle of a transaction, and if we have interrupts, there's no real reason to poll the controller more frequently than the core IPMI code does. Set the interrupt_disabled flag appropriately as the interrupt state changes, and make the timeout code reset itself only if the transaction is incomplete or we have no interrupts. Signed-off-by: Matthew Garrett Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed