diff options
-rw-r--r-- | kernel/profile.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace.h | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/kernel/profile.c b/kernel/profile.c index 9830a037d8db..5b7d1ac7124c 100644 --- a/kernel/profile.c +++ b/kernel/profile.c | |||
@@ -544,7 +544,7 @@ static const struct file_operations proc_profile_operations = { | |||
544 | }; | 544 | }; |
545 | 545 | ||
546 | #ifdef CONFIG_SMP | 546 | #ifdef CONFIG_SMP |
547 | static void __init profile_nop(void *unused) | 547 | static inline void profile_nop(void *unused) |
548 | { | 548 | { |
549 | } | 549 | } |
550 | 550 | ||
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 396fda034e3f..2596b5a968c4 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -259,9 +259,7 @@ static const char *trace_options[] = { | |||
259 | "sched-tree", | 259 | "sched-tree", |
260 | "ftrace_printk", | 260 | "ftrace_printk", |
261 | "ftrace_preempt", | 261 | "ftrace_preempt", |
262 | #ifdef CONFIG_BRANCH_TRACER | ||
263 | "branch", | 262 | "branch", |
264 | #endif | ||
265 | "annotate", | 263 | "annotate", |
266 | NULL | 264 | NULL |
267 | }; | 265 | }; |
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index cdbd5cc22be8..37947f6b92bf 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -471,9 +471,7 @@ enum trace_iterator_flags { | |||
471 | TRACE_ITER_SCHED_TREE = 0x200, | 471 | TRACE_ITER_SCHED_TREE = 0x200, |
472 | TRACE_ITER_PRINTK = 0x400, | 472 | TRACE_ITER_PRINTK = 0x400, |
473 | TRACE_ITER_PREEMPTONLY = 0x800, | 473 | TRACE_ITER_PREEMPTONLY = 0x800, |
474 | #ifdef CONFIG_BRANCH_TRACER | ||
475 | TRACE_ITER_BRANCH = 0x1000, | 474 | TRACE_ITER_BRANCH = 0x1000, |
476 | #endif | ||
477 | TRACE_ITER_ANNOTATE = 0x2000, | 475 | TRACE_ITER_ANNOTATE = 0x2000, |
478 | }; | 476 | }; |
479 | 477 | ||