summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorWeizhao Ouyang <o451686892@gmail.com>2021-09-09 12:02:16 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-10-09 02:41:39 +0300
commit6644c654ea70e0d8b8d5111e1272f8f29df00f21 (patch)
tree03020f0fc52e7cf54561dbd8de4ce737c955cc5a /arch/ia64/kernel
parent21ccc9cd72116289469e5519b6159c675a2fa58f (diff)
downloadlinux-6644c654ea70e0d8b8d5111e1272f8f29df00f21.tar.xz
ftrace: Cleanup ftrace_dyn_arch_init()
Most of ARCHs use empty ftrace_dyn_arch_init(), introduce a weak common ftrace_dyn_arch_init() to cleanup them. Link: https://lkml.kernel.org/r/20210909090216.1955240-1-o451686892@gmail.com Acked-by: Heiko Carstens <hca@linux.ibm.com> (s390) Acked-by: Helge Deller <deller@gmx.de> (parisc) Signed-off-by: Weizhao Ouyang <o451686892@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r--arch/ia64/kernel/ftrace.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/ia64/kernel/ftrace.c b/arch/ia64/kernel/ftrace.c
index b2ab2d58fb30..d6360fd404ab 100644
--- a/arch/ia64/kernel/ftrace.c
+++ b/arch/ia64/kernel/ftrace.c
@@ -194,9 +194,3 @@ int ftrace_update_ftrace_func(ftrace_func_t func)
flush_icache_range(addr, addr + 16);
return 0;
}
-
-/* run from kstop_machine */
-int __init ftrace_dyn_arch_init(void)
-{
- return 0;
-}