From: Corey Minyard Date: Tue, 29 Apr 2008 08:01:02 +0000 (-0700) Subject: ipmi: run to completion fixes X-Git-Tag: v2.6.26-rc1~528 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda4c30aa6f7dc1483f39ea1dfe37bcab8a96207;p=pandora-kernel.git ipmi: run to completion fixes The "run_to_completion" mode was somewhat broken. Locks need to be avoided in run_to_completion mode, and it shouldn't be used by normal users, just internally for panic situations. This patch removes locks in run_to_completion mode and removes the user call for setting the mode. The only user was the poweroff code, but it was easily converted to use the polling interface. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed