aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ftrace.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2009-05-28 15:33:35 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-01 20:36:46 -0400
commit898b160fe9d84b7e194c9ed0495193952909c9bd (patch)
treec4453502c2dd4fba9f3c0604959661b1e60031ec /arch/powerpc/kernel/ftrace.c
parent4a9e3f8e94d6740fbd3f149f2aa4caa82a6427ed (diff)
powerpc/ftrace: Remove unused macros
These macros were used in the original port, but since commit e4486fe316 (ftrace, use probe_kernel API to modify code) they are unused. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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{