summaryrefslogtreecommitdiff
path: root/arch/metag
diff options
context:
space:
mode:
authorLi Bin <huawei.libin@huawei.com>2015-12-28 16:34:07 +0800
committerJames Hogan <james.hogan@imgtec.com>2016-04-29 22:37:51 +0100
commit879d08ec30586ade3e785fe993ba50b8c89d05ef (patch)
treee075c6f1200eb6cb998bdf17559bf573b3c48371 /arch/metag
parentb562e44f507e863c6792946e4e1b1449fbbac85d (diff)
metag: ftrace: remove the misleading comment for ftrace_dyn_arch_init
ftrace_dyn_arch_init no longer in kstop_machine, so remove the corresponding comment. Signed-off-by: Li Bin <huawei.libin@huawei.com> Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag')
-rw-r--r--arch/metag/kernel/ftrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/metag/kernel/ftrace.c b/arch/metag/kernel/ftrace.c
index ac8c039b0318..f7b23d300881 100644
--- a/arch/metag/kernel/ftrace.c
+++ b/arch/metag/kernel/ftrace.c
@@ -115,7 +115,6 @@ int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr)
return ftrace_modify_code(ip, old, new);
}
-/* run from kstop_machine */
int __init ftrace_dyn_arch_init(void)
{
return 0;