|
@@ -166,7 +166,7 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
|
|
struct tracepoint_func *it_func_ptr; \
|
|
struct tracepoint_func *it_func_ptr; \
|
|
void *it_func; \
|
|
void *it_func; \
|
|
void *__data; \
|
|
void *__data; \
|
|
- int __maybe_unused idx = 0; \
|
|
|
|
|
|
+ int __maybe_unused __idx = 0; \
|
|
\
|
|
\
|
|
if (!(cond)) \
|
|
if (!(cond)) \
|
|
return; \
|
|
return; \
|
|
@@ -182,7 +182,7 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
|
|
* doesn't work from the idle path. \
|
|
* doesn't work from the idle path. \
|
|
*/ \
|
|
*/ \
|
|
if (rcuidle) { \
|
|
if (rcuidle) { \
|
|
- idx = srcu_read_lock_notrace(&tracepoint_srcu); \
|
|
|
|
|
|
+ __idx = srcu_read_lock_notrace(&tracepoint_srcu);\
|
|
rcu_irq_enter_irqson(); \
|
|
rcu_irq_enter_irqson(); \
|
|
} \
|
|
} \
|
|
\
|
|
\
|
|
@@ -198,7 +198,7 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
|
|
\
|
|
\
|
|
if (rcuidle) { \
|
|
if (rcuidle) { \
|
|
rcu_irq_exit_irqson(); \
|
|
rcu_irq_exit_irqson(); \
|
|
- srcu_read_unlock_notrace(&tracepoint_srcu, idx);\
|
|
|
|
|
|
+ srcu_read_unlock_notrace(&tracepoint_srcu, __idx);\
|
|
} \
|
|
} \
|
|
\
|
|
\
|
|
preempt_enable_notrace(); \
|
|
preempt_enable_notrace(); \
|