diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kernel.h | 5 | ||||
-rw-r--r-- | include/linux/sched.h | 12 |
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); | |||
508 | extern void tracing_stop(void); | 508 | extern void tracing_stop(void); |
509 | extern void ftrace_off_permanent(void); | 509 | extern void ftrace_off_permanent(void); |
510 | 510 | ||
511 | extern void | ||
512 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3); | ||
513 | |||
514 | static inline void __attribute__ ((format (printf, 1, 2))) | 511 | static 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 | ||
587 | extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); | 584 | extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); |
588 | #else | 585 | #else |
589 | static inline void | ||
590 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } | ||
591 | static inline int | 586 | static inline int |
592 | trace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); | 587 | trace_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 | ||
2438 | extern void | ||
2439 | __trace_special(void *__tr, void *__data, | ||
2440 | unsigned long arg1, unsigned long arg2, unsigned long arg3); | ||
2441 | #else | ||
2442 | static inline void | ||
2443 | __trace_special(void *__tr, void *__data, | ||
2444 | unsigned long arg1, unsigned long arg2, unsigned long arg3) | ||
2445 | { | ||
2446 | } | ||
2447 | #endif | ||
2448 | |||
2449 | extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask); | 2437 | extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask); |
2450 | extern long sched_getaffinity(pid_t pid, struct cpumask *mask); | 2438 | extern long sched_getaffinity(pid_t pid, struct cpumask *mask); |
2451 | 2439 | ||