diff options
Diffstat (limited to 'arch/sparc64/kernel/ftrace.c')
-rw-r--r-- | arch/sparc64/kernel/ftrace.c | 7 |
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 | ||
8 | static const u32 ftrace_nop = 0x01000000; | 8 | static const u32 ftrace_nop = 0x01000000; |
9 | 9 | ||
10 | notrace int ftrace_ip_converted(unsigned long ip) | ||
11 | { | ||
12 | u32 insn = *(u32 *) ip; | ||
13 | |||
14 | return (insn == ftrace_nop); | ||
15 | } | ||
16 | |||
17 | notrace unsigned char *ftrace_nop_replace(void) | 10 | notrace unsigned char *ftrace_nop_replace(void) |
18 | { | 11 | { |
19 | return (char *)&ftrace_nop; | 12 | return (char *)&ftrace_nop; |