projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netlink/diag: report flags for netlink sockets
[linux-2.6-block.git]
/
lib
/
smp_processor_id.c
diff --git
a/lib/smp_processor_id.c
b/lib/smp_processor_id.c
index 1afec32de6f21c001447b6545b440aff6308bdd2..690d75b132fa7cfdb41e2f6ae8fd6554db70e9b4 100644
(file)
--- a/
lib/smp_processor_id.c
+++ b/
lib/smp_processor_id.c
@@
-22,7
+22,7
@@
notrace static unsigned int check_preemption_disabled(const char *what1,
* Kernel threads bound to a single CPU can safely use
* smp_processor_id():
*/
- if (cpumask_equal(
tsk_cpus_allowed(current)
, cpumask_of(this_cpu)))
+ if (cpumask_equal(
¤t->cpus_allowed
, cpumask_of(this_cpu)))
goto out;
/*