git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ef9bd
)
powerpc/eeh: Fix use of set_current_state() in eeh event handling set_current_state...
author
Andrew Morton
<akpm@linux-foundation.org>
Wed, 28 Mar 2012 12:20:58 +0000
(12:20 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 2 Apr 2012 04:31:19 +0000
(14:31 +1000)
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 <akpm@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
No differences found