diff options
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
-rw-r--r-- | arch/powerpc/kernel/entry_64.S | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S index e6d52845854f..b00982e0d1ee 100644 --- a/arch/powerpc/kernel/entry_64.S +++ b/arch/powerpc/kernel/entry_64.S | |||
@@ -888,18 +888,6 @@ _GLOBAL(enter_prom) | |||
888 | #ifdef CONFIG_DYNAMIC_FTRACE | 888 | #ifdef CONFIG_DYNAMIC_FTRACE |
889 | _GLOBAL(mcount) | 889 | _GLOBAL(mcount) |
890 | _GLOBAL(_mcount) | 890 | _GLOBAL(_mcount) |
891 | /* Taken from output of objdump from lib64/glibc */ | ||
892 | mflr r3 | ||
893 | stdu r1, -112(r1) | ||
894 | std r3, 128(r1) | ||
895 | subi r3, r3, MCOUNT_INSN_SIZE | ||
896 | .globl mcount_call | ||
897 | mcount_call: | ||
898 | bl ftrace_stub | ||
899 | nop | ||
900 | ld r0, 128(r1) | ||
901 | mtlr r0 | ||
902 | addi r1, r1, 112 | ||
903 | blr | 891 | blr |
904 | 892 | ||
905 | _GLOBAL(ftrace_caller) | 893 | _GLOBAL(ftrace_caller) |