aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5b186bed54bc..360ca99033d2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2138,6 +2138,8 @@ extern void
2138ftrace_wake_up_task(void *rq, struct task_struct *wakee, 2138ftrace_wake_up_task(void *rq, struct task_struct *wakee,
2139 struct task_struct *curr); 2139 struct task_struct *curr);
2140extern void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data); 2140extern void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data);
2141extern void
2142ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3);
2141#else 2143#else
2142static inline void 2144static inline void
2143ftrace_ctx_switch(void *rq, struct task_struct *prev, struct task_struct *next) 2145ftrace_ctx_switch(void *rq, struct task_struct *prev, struct task_struct *next)
@@ -2155,6 +2157,10 @@ ftrace_wake_up_task(void *rq, struct task_struct *wakee,
2155static inline void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data) 2157static inline void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data)
2156{ 2158{
2157} 2159}
2160static inline void
2161ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3)
2162{
2163}
2158#endif 2164#endif
2159 2165
2160extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask); 2166extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask);