diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-11 05:58:09 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-11 18:12:59 (GMT) |
commit | 651f8118cf0a5724f23fe1de4a3d9d36b2e01c2e (patch) | |
tree | 0422ec10778047dca126d7b927a6fbdd73715dd1 | |
parent | 2f8975fbcf07103afab0bbaea5f5b1a9967ffb86 (diff) | |
download | linux-fsl-qoriq-651f8118cf0a5724f23fe1de4a3d9d36b2e01c2e.tar.xz |
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 <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
-rw-r--r-- | lib/smp_processor_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smp_processor_id.c b/lib/smp_processor_id.c index 0f8fc22..4689cb0 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; /* |