aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ftrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/ftrace.c')
-rw-r--r--arch/powerpc/kernel/ftrace.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/ftrace.c b/arch/powerpc/kernel/ftrace.c
index f7eadf5ddec3..429e21eaaf29 100644
--- a/arch/powerpc/kernel/ftrace.c
+++ b/arch/powerpc/kernel/ftrace.c
@@ -43,14 +43,6 @@ ftrace_call_replace(unsigned long ip, unsigned long addr, int link)
43 return op; 43 return op;
44} 44}
45 45
46#ifdef CONFIG_PPC64
47# define _ASM_ALIGN " .align 3 "
48# define _ASM_PTR " .llong "
49#else
50# define _ASM_ALIGN " .align 2 "
51# define _ASM_PTR " .long "
52#endif
53
54static int 46static int
55ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new) 47ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new)
56{ 48{