File tree 3 files changed +15
-3
lines changed 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ common_exception_handler:
118
118
/* interrupt */
119
119
2:
120
120
#ifdef CONFIG_TRACE_IRQFLAGS
121
- jal trace_hardirqs_off
121
+ jal __trace_hardirqs_off
122
122
#endif
123
123
move $r0, $sp
124
124
sethi $lp, hi20(ret_from_intr)
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ no_work_pending:
138
138
#ifdef CONFIG_TRACE_IRQFLAGS
139
139
lwi $p0, [$sp+(#IPSW_OFFSET)]
140
140
andi $p0, $p0, #0x1
141
- la $r10, trace_hardirqs_off
142
- la $r9, trace_hardirqs_on
141
+ la $r10, __trace_hardirqs_off
142
+ la $r9, __trace_hardirqs_on
143
143
cmovz $r9, $p0, $r10
144
144
jral $r9
145
145
#endif
Original file line number Diff line number Diff line change @@ -295,3 +295,15 @@ int ftrace_disable_ftrace_graph_caller(void)
295
295
#endif /* CONFIG_DYNAMIC_FTRACE */
296
296
297
297
#endif /* CONFIG_FUNCTION_GRAPH_TRACER */
298
+
299
+
300
+ #ifdef CONFIG_TRACE_IRQFLAGS
301
+ noinline void __trace_hardirqs_off (void )
302
+ {
303
+ trace_hardirqs_off ();
304
+ }
305
+ noinline void __trace_hardirqs_on (void )
306
+ {
307
+ trace_hardirqs_on ();
308
+ }
309
+ #endif /* CONFIG_TRACE_IRQFLAGS */
You can’t perform that action at this time.
0 commit comments