aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:20:53 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 15:08:47 -0400
commit88a4216c3ec4281fc7e6725cc3a3ccd01fb1aa14 (patch)
tree3d93bdfa757da02953ec2532f7504a2e7f81ea78 /include
parent36fc25a9f48deacd8aa08cd2d1c186a4e412604f (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.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);