aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 21:20:50 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 20:56:05 +0200
commit9ff9cdb2d3b0971f89e899b3420aadd91bddc215 (patch)
treead669d9bf015355ce8ea312a9fc140b63e1a4250 /kernel/trace/ftrace.c
parent6fb44b717c10ecf37beaaebd312f3afa93fed714 (diff)
ftrace: cleanups
clean up recent code. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index ff42345dd78..425b1fec3d8 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -197,8 +197,8 @@ static int ftrace_record_suspend;
static struct dyn_ftrace *ftrace_free_records;
-static inline int
-notrace ftrace_ip_in_hash(unsigned long ip, unsigned long key)
+static inline int notrace
+ftrace_ip_in_hash(unsigned long ip, unsigned long key)
{
struct dyn_ftrace *p;
struct hlist_node *t;
@@ -1249,6 +1249,7 @@ static int __init notrace ftrace_dynamic_init(void)
int ret;
addr = (unsigned long)ftrace_record_ip;
+
stop_machine_run(ftrace_dyn_arch_init, &addr, NR_CPUS);
/* ftrace_dyn_arch_init places the return code in addr */