Skip to content
Commit 9b218f63 authored by Andrew Morton's avatar Andrew Morton Committed by Benjamin Herrenschmidt
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 37ef9bd4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment