diff options
author | 2012-03-28 12:20:58 +0000 | |
---|---|---|
committer | 2012-04-02 14:31:19 +1000 | |
commit | 9b218f63e50e590fe0c7724a0838d7eaa6dae5ce (patch) | |
tree | 2879a705de175bc7e956d90d72dee2bf1c38499c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | powerpc/eeh: Remove eeh_event_handler()->daemonize() (diff) | |
download | wireguard-linux-9b218f63e50e590fe0c7724a0838d7eaa6dae5ce.tar.xz wireguard-linux-9b218f63e50e590fe0c7724a0838d7eaa6dae5ce.zip |
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 <akpm@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions