projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e38ed
)
rcu: fix build bug in RCU_FAST_NO_HZ builds
author
Paul E. McKenney
<
[email protected]
>
Sun, 9 May 2010 02:58:22 +0000
(19:58 -0700)
committer
Paul E. McKenney
<
[email protected]
>
Mon, 10 May 2010 18:08:35 +0000
(11:08 -0700)
Signed-off-by: Paul E. McKenney <
[email protected]
>
kernel/rcutree_plugin.h
patch
|
blob
|
history
diff --git
a/kernel/rcutree_plugin.h
b/kernel/rcutree_plugin.h
index 9b18227e86e80c2cf80df1d1e37585374e078b45..ac7d80fa895c60a1ba9db239db9a8c5e804a53f3 100644
(file)
--- a/
kernel/rcutree_plugin.h
+++ b/
kernel/rcutree_plugin.h
@@
-1063,8
+1063,8
@@
int rcu_needs_cpu(int cpu)
for_each_online_cpu(thatcpu) {
if (thatcpu == cpu)
continue;
- snap = per_cpu(rcu_dynticks, thatcpu)
->
dynticks;
- snap_nmi = per_cpu(rcu_dynticks, thatcpu)
->
dynticks_nmi;
+ snap = per_cpu(rcu_dynticks, thatcpu)
.
dynticks;
+ snap_nmi = per_cpu(rcu_dynticks, thatcpu)
.
dynticks_nmi;
smp_mb(); /* Order sampling of snap with end of grace period. */
if (((snap & 0x1) != 0) || ((snap_nmi & 0x1) != 0)) {
per_cpu(rcu_dyntick_drain, cpu) = 0;