diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 6 |
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 | |||
2138 | ftrace_wake_up_task(void *rq, struct task_struct *wakee, | 2138 | ftrace_wake_up_task(void *rq, struct task_struct *wakee, |
2139 | struct task_struct *curr); | 2139 | struct task_struct *curr); |
2140 | extern void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data); | 2140 | extern void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data); |
2141 | extern void | ||
2142 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3); | ||
2141 | #else | 2143 | #else |
2142 | static inline void | 2144 | static inline void |
2143 | ftrace_ctx_switch(void *rq, struct task_struct *prev, struct task_struct *next) | 2145 | ftrace_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, | |||
2155 | static inline void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data) | 2157 | static inline void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data) |
2156 | { | 2158 | { |
2157 | } | 2159 | } |
2160 | static inline void | ||
2161 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) | ||
2162 | { | ||
2163 | } | ||
2158 | #endif | 2164 | #endif |
2159 | 2165 | ||
2160 | extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask); | 2166 | extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask); |