summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/ftrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/ftrace.c')
-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 f449e6d..c173731 100644
--- a/arch/sparc64/kernel/ftrace.c
+++ b/arch/sparc64/kernel/ftrace.c
@@ -7,13 +7,6 @@
static const u32 ftrace_nop = 0x01000000;
-notrace int ftrace_ip_converted(unsigned long ip)
-{
- u32 insn = *(u32 *) ip;
-
- return (insn == ftrace_nop);
-}
-
notrace unsigned char *ftrace_nop_replace(void)
{
return (char *)&ftrace_nop;
OpenPOWER on IntegriCloud