Skip to content

Commit

Permalink
small doc fix: ftrace_dyn_arch_init is called by ftrace_init
Browse files Browse the repository at this point in the history
... not kstop_machine.  Add a note that irqs are disabled.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  • Loading branch information
Uwe Kleine-König authored and Uwe Kleine-Koenig committed Dec 12, 2008
1 parent 674a0a6 commit 6ed70a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ int ftrace_update_ftrace_func(ftrace_func_t func)
return ret;
}

/* run from kstop_machine */
/* run from ftrace_init with irqs disabled */
int __init ftrace_dyn_arch_init(void *data)
{
ftrace_mcount_set(data);
Expand Down

0 comments on commit 6ed70a7

Please sign in to comment.