commit | a747c5abc329611220f16df0bb4cf0ca4a7fdf0c | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Wed May 26 14:43:53 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 27 09:12:50 2010 -0700 |
tree | f34b59f7208a7d320138ed0807474ee351534b4e | |
parent | 279fbd0c5daa60c76e59df33f436ca2300f2b603 [diff] |
ipmi: handle run_to_completion properly in deliver_recv_msg() If run_to_completion flag is set, it means that we are running in a single-threaded mode, and thus no locks are held. This fixes a deadlock when IPMI notifier is being called during panic. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Acked-by: Corey Minyard <minyard@acm.org> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>