aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_32.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/entry_32.S')
-rw-r--r--arch/powerpc/kernel/entry_32.S11
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S
index 0e6221889ca9..3b1dd29d9f91 100644
--- a/arch/powerpc/kernel/entry_32.S
+++ b/arch/powerpc/kernel/entry_32.S
@@ -1129,18 +1129,11 @@ _GLOBAL(_mcount)
1129 stw r5, 8(r1) 1129 stw r5, 8(r1)
1130 1130
1131 LOAD_REG_ADDR(r5, ftrace_trace_function) 1131 LOAD_REG_ADDR(r5, ftrace_trace_function)
1132#if 0
1133 mtctr r3
1134 mr r1, r5
1135 bctrl
1136#endif
1137 lwz r5,0(r5) 1132 lwz r5,0(r5)
1138#if 1 1133
1139 mtctr r5 1134 mtctr r5
1140 bctrl 1135 bctrl
1141#else 1136
1142 bl ftrace_stub
1143#endif
1144 nop 1137 nop
1145 1138
1146 lwz r6, 8(r1) 1139 lwz r6, 8(r1)