tracing: fix warnings in kernel/trace/trace_sched_switch.c
authorIngo Molnar <mingo@elte.hu>
Fri, 19 Dec 2008 00:09:51 +0000 (01:09 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Dec 2008 00:05:38 +0000 (01:05 +0100)
commitc71dd42db2c6f1637b92502a214587431c1a6ad2
tree778c7da5c7539cbab90cdbead19d6597529187a7
parent3bddb9a3246f6df5cf3b7655cb541ac10203bb71
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>
include/trace/sched.h
kernel/sched.c
kernel/trace/trace_sched_switch.c