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

Commit 651f8118 authored by Rusty Russell's avatar Rusty Russell Committed by Ingo Molnar
Browse files

cpumask: convert other misc kernel functions



Impact: use new cpumask API.

Convert other misc kernel functions to use struct cpumask.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarMike Travis <travis@sgi.com>
parent 2f8975fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ notrace unsigned int debug_smp_processor_id(void)
	 * Kernel threads bound to a single CPU can safely use
	 * smp_processor_id():
	 */
	if (cpus_equal(current->cpus_allowed, cpumask_of_cpu(this_cpu)))
	if (cpumask_equal(&current->cpus_allowed, cpumask_of(this_cpu)))
		goto out;

	/*