aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-03 07:16:09 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-03 12:59:25 -0500
commit263ec6457bb23d57b575ede18ff6c3d11e0b4e96 (patch)
treeac9ce48e24b2f37292614a3d363009f1332384cc
parente465b535ce5b2318798c68e1454917204494bfe3 (diff)
cpumask: convert RCU implementations, fix
Impact: cleanup This warning: kernel/rcuclassic.c: In function ‘rcu_start_batch’: kernel/rcuclassic.c:397: warning: passing argument 1 of ‘cpumask_andnot’ from incompatible pointer type triggers because one usage site of rcp->cpumask was not converted to to_cpumask(rcp->cpumask). There's no ill effects of this bug. Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/rcuclassic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c
index 6ec495f60ead..490934fc7ac3 100644
--- a/kernel/rcuclassic.c
+++ b/kernel/rcuclassic.c
@@ -394,7 +394,8 @@ static void rcu_start_batch(struct rcu_ctrlblk *rcp)
394 * unnecessarily. 394 * unnecessarily.
395 */ 395 */
396 smp_mb(); 396 smp_mb();
397 cpumask_andnot(&rcp->cpumask, cpu_online_mask, nohz_cpu_mask); 397 cpumask_andnot(to_cpumask(rcp->cpumask),
398 cpu_online_mask, nohz_cpu_mask);
398 399
399 rcp->signaled = 0; 400 rcp->signaled = 0;
400 } 401 }