git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8975f
)
cpumask: convert other misc kernel functions
author
Rusty Russell
<rusty@rustcorp.com.au>
Sun, 11 Jan 2009 05:58:09 +0000
(21:58 -0800)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 11 Jan 2009 18:12:59 +0000
(19:12 +0100)
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>
lib/smp_processor_id.c
patch
|
blob
|
history
diff --git
a/lib/smp_processor_id.c
b/lib/smp_processor_id.c
index
0f8fc22
..
4689cb0
100644
(file)
--- 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 (cpu
s_equal(current->cpus_allowed, cpumask_of_cpu
(this_cpu)))
+ if (cpu
mask_equal(¤t->cpus_allowed, cpumask_of
(this_cpu)))
goto out;
/*