diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:20:53 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 15:08:47 -0400 |
commit | 88a4216c3ec4281fc7e6725cc3a3ccd01fb1aa14 (patch) | |
tree | 3d93bdfa757da02953ec2532f7504a2e7f81ea78 /include | |
parent | 36fc25a9f48deacd8aa08cd2d1c186a4e412604f (diff) |
ftrace: sched special
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.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); |