aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
-rw-r--r--arch/powerpc/kernel/entry_64.S12
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
897mcount_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)