diff options
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r-- | kernel/rcutree_plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index bdb2e82f78d3..4bac5a29fb69 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h | |||
@@ -122,11 +122,11 @@ static void rcu_preempt_qs(int cpu) | |||
122 | { | 122 | { |
123 | struct rcu_data *rdp = &per_cpu(rcu_preempt_data, cpu); | 123 | struct rcu_data *rdp = &per_cpu(rcu_preempt_data, cpu); |
124 | 124 | ||
125 | rdp->passed_quiesc_completed = rdp->gpnum - 1; | 125 | rdp->passed_quiesce_gpnum = rdp->gpnum; |
126 | barrier(); | 126 | barrier(); |
127 | if (rdp->passed_quiesc == 0) | 127 | if (rdp->passed_quiesce == 0) |
128 | trace_rcu_grace_period("rcu_preempt", rdp->gpnum, "cpuqs"); | 128 | trace_rcu_grace_period("rcu_preempt", rdp->gpnum, "cpuqs"); |
129 | rdp->passed_quiesc = 1; | 129 | rdp->passed_quiesce = 1; |
130 | current->rcu_read_unlock_special &= ~RCU_READ_UNLOCK_NEED_QS; | 130 | current->rcu_read_unlock_special &= ~RCU_READ_UNLOCK_NEED_QS; |
131 | } | 131 | } |
132 | 132 | ||