summaryrefslogtreecommitdiffstats
path: root/kernel/rtmutex_common.h
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2009-10-01 06:33:28 +0200
committerIngo Molnar <mingo@elte.hu>2009-10-06 14:28:24 +0200
commitb0f56f1a63b7b968e6feeeefeace24bc8e0a4a65 (patch)
tree56bb19f2961203dff4656fc64c0471da93785a36 /kernel/rtmutex_common.h
parenttracing: Use free_percpu instead of kfree (diff)
downloadlinux-b0f56f1a63b7b968e6feeeefeace24bc8e0a4a65.tar.xz
linux-b0f56f1a63b7b968e6feeeefeace24bc8e0a4a65.zip
trace: Fix missing assignment in trace_ctxwake_*
The state char variable S should be reassigned, if S == 0. We are missing the state of the task that is going to sleep for the context switch events (in the raw mode). Fortunately the problem arises with the sched_switch/wake_up tracers, not the sched trace events. The formers are legacy now. But still, that was buggy. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Cc: Steven Rostedt <srostedt@redhat.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <4AC43118.6050409@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions