File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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)
259259 { \
260260 if (static_branch_unlikely(&__tracepoint_##name.key)) { \
261261 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)); \
264264 } \
265265 } \
266266 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
@@ -275,8 +275,8 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
275275 { \
276276 might_fault(); \
277277 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)); \
280280 } \
281281 if (IS_ENABLED(CONFIG_LOCKDEP)) { \
282282 WARN_ONCE(!rcu_is_watching(), \
You can’t perform that action at this time.
0 commit comments