summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2008-12-12 11:15:45 +0100
committerUwe Kleine-Koenig <ukl@pengutronix.de>2008-12-12 11:15:45 +0100
commit6ed70a792af1f7961d8c74c2ded78aebd42c658e (patch)
tree5b9509d174576e83bc155ac524989586c1e48b3d
parent674a0a6939a954ab92fdd9833943e2277550bb0a (diff)
small doc fix: ftrace_dyn_arch_init is called by ftrace_init
... not kstop_machine. Add a note that irqs are disabled. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-rw-r--r--arch/arm/kernel/ftrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/ftrace.c b/arch/arm/kernel/ftrace.c
index 6c90479e897..c6384276622 100644
--- a/arch/arm/kernel/ftrace.c
+++ b/arch/arm/kernel/ftrace.c
@@ -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);