summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2009-05-28 19:33:35 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-02 10:36:46 +1000
commit898b160fe9d84b7e194c9ed0495193952909c9bd (patch)
treec4453502c2dd4fba9f3c0604959661b1e60031ec
parent4a9e3f8e94d6740fbd3f149f2aa4caa82a6427ed (diff)
downloadblackbird-obmc-linux-898b160fe9d84b7e194c9ed0495193952909c9bd.tar.gz
blackbird-obmc-linux-898b160fe9d84b7e194c9ed0495193952909c9bd.zip
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>
-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)
return op;
}
-#ifdef CONFIG_PPC64
-# define _ASM_ALIGN " .align 3 "
-# define _ASM_PTR " .llong "
-#else
-# define _ASM_ALIGN " .align 2 "
-# define _ASM_PTR " .long "
-#endif
-
static int
ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new)
{
OpenPOWER on IntegriCloud