aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:20:51 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 15:04:28 -0400
commit8ac0fca4ccb355ce50471d7aa3f10f5900b28b95 (patch)
tree39b9f0b863692d6e3f23eef85bed68072734d6fb /include
parent86387f7ee5d3273ff4859e2c64ce656639b6ca65 (diff)
ftrace: sched tracer fix
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 6e26f1fdbfe2..05744f9cb096 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2130,17 +2130,11 @@ ftrace_ctx_switch(struct task_struct *prev, struct task_struct *next)
2130#ifdef CONFIG_SCHED_TRACER 2130#ifdef CONFIG_SCHED_TRACER
2131extern void 2131extern void
2132ftrace_wake_up_task(struct task_struct *wakee, struct task_struct *curr); 2132ftrace_wake_up_task(struct task_struct *wakee, struct task_struct *curr);
2133extern void
2134ftrace_wake_up_new_task(struct task_struct *wakee, struct task_struct *curr);
2135#else 2133#else
2136static inline void 2134static inline void
2137ftrace_wake_up_task(struct task_struct *wakee, struct task_struct *curr) 2135ftrace_wake_up_task(struct task_struct *wakee, struct task_struct *curr)
2138{ 2136{
2139} 2137}
2140static inline void
2141ftrace_wake_up_new_task(struct task_struct *wakee, struct task_struct *curr)
2142{
2143}
2144#endif 2138#endif
2145 2139
2146extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask); 2140extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask);