File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -259,8 +259,8 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
259
259
{ \
260
260
if (static_branch_unlikely(&__tracepoint_##name.key)) { \
261
261
if (cond) { \
262
- scoped_guard (preempt_notrace) \
263
- __DO_TRACE_CALL(name, TP_ARGS(args)); \
262
+ guard (preempt_notrace)(); \
263
+ __DO_TRACE_CALL(name, TP_ARGS(args)); \
264
264
} \
265
265
} \
266
266
if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
@@ -275,8 +275,8 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
275
275
{ \
276
276
might_fault(); \
277
277
if (static_branch_unlikely(&__tracepoint_##name.key)) { \
278
- scoped_guard (rcu_tasks_trace) \
279
- __DO_TRACE_CALL(name, TP_ARGS(args)); \
278
+ guard (rcu_tasks_trace)(); \
279
+ __DO_TRACE_CALL(name, TP_ARGS(args)); \
280
280
} \
281
281
if (IS_ENABLED(CONFIG_LOCKDEP)) { \
282
282
WARN_ONCE(!rcu_is_watching(), \
You can’t perform that action at this time.
0 commit comments