ftrace: sched tracer fix
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
committed by
Thomas Gleixner
parent
86387f7ee5
commit
8ac0fca4cc
@@ -2130,17 +2130,11 @@ ftrace_ctx_switch(struct task_struct *prev, struct task_struct *next)
|
||||
#ifdef CONFIG_SCHED_TRACER
|
||||
extern void
|
||||
ftrace_wake_up_task(struct task_struct *wakee, struct task_struct *curr);
|
||||
extern void
|
||||
ftrace_wake_up_new_task(struct task_struct *wakee, struct task_struct *curr);
|
||||
#else
|
||||
static inline void
|
||||
ftrace_wake_up_task(struct task_struct *wakee, struct task_struct *curr)
|
||||
{
|
||||
}
|
||||
static inline void
|
||||
ftrace_wake_up_new_task(struct task_struct *wakee, struct task_struct *curr)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask);
|
||||
|
Reference in New Issue
Block a user