aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorAbhishek Sagar <sagar.abhishek@gmail.com>2008-06-01 12:17:42 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-10 05:57:49 -0400
commit1d74f2a0f64b4091e5e91b55ac1b17dff93f4b59 (patch)
tree8777ee5d38cf27939687adf2dc3d2a9a5f60b33d /arch/sparc64/kernel
parent0eb967012ea15e6e8cfab483d9fa37bc602d400c (diff)
ftrace: remove ftrace_ip_converted()
Remove the unneeded function ftrace_ip_converted(). Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/ftrace.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc64/kernel/ftrace.c b/arch/sparc64/kernel/ftrace.c
index f449e6df6c4a..c17373195b1e 100644
--- a/arch/sparc64/kernel/ftrace.c
+++ b/arch/sparc64/kernel/ftrace.c
@@ -7,13 +7,6 @@
7 7
8static const u32 ftrace_nop = 0x01000000; 8static const u32 ftrace_nop = 0x01000000;
9 9
10notrace int ftrace_ip_converted(unsigned long ip)
11{
12 u32 insn = *(u32 *) ip;
13
14 return (insn == ftrace_nop);
15}
16
17notrace unsigned char *ftrace_nop_replace(void) 10notrace unsigned char *ftrace_nop_replace(void)
18{ 11{
19 return (char *)&ftrace_nop; 12 return (char *)&ftrace_nop;