summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/ftrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/ftrace.c')
-rw-r--r--arch/sparc/kernel/ftrace.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sparc/kernel/ftrace.c b/arch/sparc/kernel/ftrace.c
index 29973daa9930..9103a56b39e8 100644
--- a/arch/sparc/kernel/ftrace.c
+++ b/arch/sparc/kernel/ftrace.c
@@ -91,14 +91,3 @@ int __init ftrace_dyn_arch_init(void *data)
return 0;
}
#endif
-
-#ifdef CONFIG_FTRACE_SYSCALLS
-
-extern unsigned int sys_call_table[];
-
-unsigned long __init arch_syscall_addr(int nr)
-{
- return (unsigned long)sys_call_table[nr];
-}
-
-#endif