Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 263ec645 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
parent e465b535
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -394,7 +394,8 @@ static void rcu_start_batch(struct rcu_ctrlblk *rcp)
		 * unnecessarily.
		 */
		smp_mb();
		cpumask_andnot(&rcp->cpumask, cpu_online_mask, nohz_cpu_mask);
		cpumask_andnot(to_cpumask(rcp->cpumask),
			       cpu_online_mask, nohz_cpu_mask);

		rcp->signaled = 0;
	}