diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-19 01:09:51 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-19 01:05:38 +0100 |
commit | c71dd42db2c6f1637b92502a214587431c1a6ad2 (patch) | |
tree | 778c7da5c7539cbab90cdbead19d6597529187a7 /kernel/trace | |
parent | 3bddb9a3246f6df5cf3b7655cb541ac10203bb71 (diff) | |
download | linux-c71dd42db2c6f1637b92502a214587431c1a6ad2.tar.bz2 |
tracing: fix warnings in kernel/trace/trace_sched_switch.c
these warnings:
kernel/trace/trace_sched_switch.c: In function ‘tracing_sched_register’:
kernel/trace/trace_sched_switch.c:96: warning: passing argument 1 of ‘register_trace_sched_wakeup_new’ from incompatible pointer type
kernel/trace/trace_sched_switch.c:112: warning: passing argument 1 of ‘unregister_trace_sched_wakeup_new’ from incompatible pointer type
kernel/trace/trace_sched_switch.c: In function ‘tracing_sched_unregister’:
kernel/trace/trace_sched_switch.c:121: warning: passing argument 1 of ‘unregister_trace_sched_wakeup_new’ from incompatible pointer type
Trigger because sched_wakeup_new tracepoints need the same trace
signature as sched_wakeup - which was changed recently.
Fix it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace_sched_switch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_sched_switch.c b/kernel/trace/trace_sched_switch.c index 863390557b44..781d72ef873c 100644 --- a/kernel/trace/trace_sched_switch.c +++ b/kernel/trace/trace_sched_switch.c @@ -247,3 +247,4 @@ __init static int init_sched_switch_trace(void) return register_tracer(&sched_switch_trace); } device_initcall(init_sched_switch_trace); + |