diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-05-28 21:33:35 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-02 02:36:46 +0200 |
commit | 898b160fe9d84b7e194c9ed0495193952909c9bd (patch) | |
tree | c4453502c2dd4fba9f3c0604959661b1e60031ec /arch/powerpc/kernel/ftrace.c | |
parent | powerpc/ftrace: Use ppc_function_entry() instead of GET_ADDR (diff) | |
download | linux-898b160fe9d84b7e194c9ed0495193952909c9bd.tar.xz 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>
Diffstat (limited to 'arch/powerpc/kernel/ftrace.c')
-rw-r--r-- | arch/powerpc/kernel/ftrace.c | 8 |
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) { |