summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/ftrace.c
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 /arch/arm/kernel/ftrace.c
parent[ARM] 5341/2: there is no copy_page on nommu ARM (diff)
downloadlinux-6ed70a792af1f7961d8c74c2ded78aebd42c658e.tar.xz
linux-6ed70a792af1f7961d8c74c2ded78aebd42c658e.zip
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>
Diffstat (limited to 'arch/arm/kernel/ftrace.c')
-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 6c90479e8974..c63842766229 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);