|
@@ -499,7 +499,7 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb,
|
|
case CPU_UP_PREPARE:
|
|
case CPU_UP_PREPARE:
|
|
/* Create a new workqueue thread for it. */
|
|
/* Create a new workqueue thread for it. */
|
|
list_for_each_entry(wq, &workqueues, list) {
|
|
list_for_each_entry(wq, &workqueues, list) {
|
|
- if (create_workqueue_thread(wq, hotcpu) < 0) {
|
|
|
|
|
|
+ if (!create_workqueue_thread(wq, hotcpu)) {
|
|
printk("workqueue for %i failed\n", hotcpu);
|
|
printk("workqueue for %i failed\n", hotcpu);
|
|
return NOTIFY_BAD;
|
|
return NOTIFY_BAD;
|
|
}
|
|
}
|