Changeset 91a8f83 in mainline for kernel/generic/include/synch/rcu.h
- Timestamp:
- 2018-10-31T18:15:56Z (5 years ago)
- Children:
- 071cb36
- Parents:
- 482f968
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/rcu.h
r482f968 r91a8f83 132 132 static inline void rcu_read_lock(void) 133 133 { 134 THE->rcu_nesting += RCU_CNT_INC;134 CURRENT->rcu_nesting += RCU_CNT_INC; 135 135 compiler_barrier(); 136 136 } … … 140 140 { 141 141 compiler_barrier(); 142 THE->rcu_nesting -= RCU_CNT_INC;143 144 if (RCU_WAS_PREEMPTED == THE->rcu_nesting) {142 CURRENT->rcu_nesting -= RCU_CNT_INC; 143 144 if (RCU_WAS_PREEMPTED == CURRENT->rcu_nesting) { 145 145 _rcu_preempted_unlock(); 146 146 }
Note:
See TracChangeset
for help on using the changeset viewer.