diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-10 21:58:09 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-11 19:12:59 +0100 |
commit | 651f8118cf0a5724f23fe1de4a3d9d36b2e01c2e (patch) | |
tree | 0422ec10778047dca126d7b927a6fbdd73715dd1 /lib | |
parent | 2f8975fbcf07103afab0bbaea5f5b1a9967ffb86 (diff) | |
download | talos-obmc-linux-651f8118cf0a5724f23fe1de4a3d9d36b2e01c2e.tar.gz talos-obmc-linux-651f8118cf0a5724f23fe1de4a3d9d36b2e01c2e.zip |
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>
Diffstat (limited to 'lib')
-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 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; /* |