From: Andrew Morton Date: Wed, 28 Mar 2012 12:20:58 +0000 (+0000) Subject: powerpc/eeh: Fix use of set_current_state() in eeh event handling set_current_state... X-Git-Tag: v3.4-rc2~42^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b218f63e50e590fe0c7724a0838d7eaa6dae5ce;p=pandora-kernel.git powerpc/eeh: Fix use of set_current_state() in eeh event handling set_current_state() wart That set_current_state() won't work very well: the subsequent mutex_lock() might flip the task back into TASK_RUNNING. Attempt to put it somewhere where it might have been meant to be, and attempt to describe why it might have been added. Signed-off-by: Andrew Morton Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed