From: Rusty Russell Date: Sun, 11 Jan 2009 05:58:09 +0000 (-0800) Subject: cpumask: convert other misc kernel functions X-Git-Tag: v2.6.30-rc1~3^2~6^2~42 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=651f8118cf0a5724f23fe1de4a3d9d36b2e01c2e;p=karo-tx-linux.git cpumask: convert other misc kernel functions Impact: use new cpumask API. Convert other misc kernel functions to use struct cpumask. Signed-off-by: Rusty Russell Signed-off-by: Mike Travis --- diff --git a/lib/smp_processor_id.c b/lib/smp_processor_id.c index 0f8fc22ed103..4689cb073da4 100644 --- a/lib/smp_processor_id.c +++ b/lib/smp_processor_id.c @@ -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(¤t->cpus_allowed, cpumask_of(this_cpu))) goto out; /*