projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c88969
)
rcu: Use proper cpp macro for ->gp_flags
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 8 Aug 2013 21:37:47 +0000
(14:37 -0700)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Fri, 20 Sep 2013 16:43:06 +0000
(09:43 -0700)
One of the ->gp_flags assignments used a raw number rather than the
cpp macro that was intended for this purpose, which this commit fixes.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/rcutree.c
b/kernel/rcutree.c
index 32618b3fe4e6aa375b3cd3bde1acd12bdd4237b3..e0fa1920cd67d3042d3858f333648daee2c8143d 100644
(file)
--- a/
kernel/rcutree.c
+++ b/
kernel/rcutree.c
@@
-1452,7
+1452,7
@@
static void rcu_gp_cleanup(struct rcu_state *rsp)
rdp = this_cpu_ptr(rsp->rda);
rcu_advance_cbs(rsp, rnp, rdp); /* Reduce false positives below. */
if (cpu_needs_another_gp(rsp, rdp))
- rsp->gp_flags =
1
;
+ rsp->gp_flags =
RCU_GP_FLAG_INIT
;
raw_spin_unlock_irq(&rnp->lock);
}