diff options
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r-- | kernel/rcutree_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index 9b18227e86e8..ac7d80fa895c 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h | |||
@@ -1063,8 +1063,8 @@ int rcu_needs_cpu(int cpu) | |||
1063 | for_each_online_cpu(thatcpu) { | 1063 | for_each_online_cpu(thatcpu) { |
1064 | if (thatcpu == cpu) | 1064 | if (thatcpu == cpu) |
1065 | continue; | 1065 | continue; |
1066 | snap = per_cpu(rcu_dynticks, thatcpu)->dynticks; | 1066 | snap = per_cpu(rcu_dynticks, thatcpu).dynticks; |
1067 | snap_nmi = per_cpu(rcu_dynticks, thatcpu)->dynticks_nmi; | 1067 | snap_nmi = per_cpu(rcu_dynticks, thatcpu).dynticks_nmi; |
1068 | smp_mb(); /* Order sampling of snap with end of grace period. */ | 1068 | smp_mb(); /* Order sampling of snap with end of grace period. */ |
1069 | if (((snap & 0x1) != 0) || ((snap_nmi & 0x1) != 0)) { | 1069 | if (((snap & 0x1) != 0) || ((snap_nmi & 0x1) != 0)) { |
1070 | per_cpu(rcu_dyntick_drain, cpu) = 0; | 1070 | per_cpu(rcu_dyntick_drain, cpu) = 0; |