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>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
4a9e3f8e94
commit
898b160fe9
@@ -43,14 +43,6 @@ ftrace_call_replace(unsigned long ip, unsigned long addr, int link)
|
|||||||
return op;
|
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
|
static int
|
||||||
ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new)
|
ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user