aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-07-21 15:44:18 -0400
committerIngo Molnar <mingo@elte.hu>2010-07-21 15:44:18 -0400
commit23c2875725ebb03e58e598754309e198648f608a (patch)
tree35f9ffe9e7b52624642cb651687dea5faf5dc6a3 /include/linux
parent9dcdbf7a33d9018ac5d45debcf261be648bdd56a (diff)
parentb444786f1a797a7f84e2561346a670649f9c7b3c (diff)
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing into perf/core
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kernel.h5
-rw-r--r--include/linux/sched.h12
2 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 8317ec4b9f3b..adee958b5989 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -508,9 +508,6 @@ extern void tracing_start(void);
508extern void tracing_stop(void); 508extern void tracing_stop(void);
509extern void ftrace_off_permanent(void); 509extern void ftrace_off_permanent(void);
510 510
511extern void
512ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3);
513
514static inline void __attribute__ ((format (printf, 1, 2))) 511static inline void __attribute__ ((format (printf, 1, 2)))
515____trace_printk_check_format(const char *fmt, ...) 512____trace_printk_check_format(const char *fmt, ...)
516{ 513{
@@ -586,8 +583,6 @@ __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap);
586 583
587extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); 584extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode);
588#else 585#else
589static inline void
590ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { }
591static inline int 586static inline int
592trace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); 587trace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
593 588
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 747fcaedddb7..f751ea9dcb7b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2434,18 +2434,6 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
2434 2434
2435#endif /* CONFIG_SMP */ 2435#endif /* CONFIG_SMP */
2436 2436
2437#ifdef CONFIG_TRACING
2438extern void
2439__trace_special(void *__tr, void *__data,
2440 unsigned long arg1, unsigned long arg2, unsigned long arg3);
2441#else
2442static inline void
2443__trace_special(void *__tr, void *__data,
2444 unsigned long arg1, unsigned long arg2, unsigned long arg3)
2445{
2446}
2447#endif
2448
2449extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask); 2437extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
2450extern long sched_getaffinity(pid_t pid, struct cpumask *mask); 2438extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
2451 2439