projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kthread: Extract KTHREAD_IS_PER_CPU
[linux-2.6-microblaze.git]
/
kernel
/
smpboot.c
diff --git
a/kernel/smpboot.c
b/kernel/smpboot.c
index
2efe1e2
..
f25208e
100644
(file)
--- a/
kernel/smpboot.c
+++ b/
kernel/smpboot.c
@@
-188,6
+188,7
@@
__smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu)
kfree(td);
return PTR_ERR(tsk);
}
+ kthread_set_per_cpu(tsk, cpu);
/*
* Park the thread so that it could start right on the CPU
* when it is available.