diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-23 09:33:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-23 10:00:23 -0400 |
commit | 4d296c24326783bff1282ac72f310d8bac8df413 (patch) | |
tree | 75751fdafc0fa5818a926478e78dd9e54f1cf872 /arch/x86/kernel/ftrace.c | |
parent | cb7be3b2fc2cf089ee52b16f0fd9ebb29e9944e1 (diff) |
ftrace: remove mcount set
The arch dependent function ftrace_mcount_set was only used by the daemon
start up code. This patch removes it.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/ftrace.c')
-rw-r--r-- | arch/x86/kernel/ftrace.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c index da4fb0deecf7..b399eed23538 100644 --- a/arch/x86/kernel/ftrace.c +++ b/arch/x86/kernel/ftrace.c | |||
@@ -103,13 +103,6 @@ notrace int ftrace_update_ftrace_func(ftrace_func_t func) | |||
103 | return ret; | 103 | return ret; |
104 | } | 104 | } |
105 | 105 | ||
106 | notrace int ftrace_mcount_set(unsigned long *data) | ||
107 | { | ||
108 | /* mcount is initialized as a nop */ | ||
109 | *data = 0; | ||
110 | return 0; | ||
111 | } | ||
112 | |||
113 | int __init ftrace_dyn_arch_init(void *data) | 106 | int __init ftrace_dyn_arch_init(void *data) |
114 | { | 107 | { |
115 | extern const unsigned char ftrace_test_p6nop[]; | 108 | extern const unsigned char ftrace_test_p6nop[]; |