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>
This commit is contained in:
parent
2f8975fbcf
commit
651f8118cf
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ notrace unsigned int debug_smp_processor_id(void)
|
||||||
* Kernel threads bound to a single CPU can safely use
|
* Kernel threads bound to a single CPU can safely use
|
||||||
* smp_processor_id():
|
* 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;
|
goto out;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue