Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7370
b: refs/heads/master
c: 230649d
h: refs/heads/master
v: v3
  • Loading branch information
Mika Kukkonen authored and Linus Torvalds committed Sep 7, 2005
1 parent 26bc7d9 commit ef28ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b80068543794864f533163c586be2a1a9880a65d
refs/heads/master: 230649da7cb73914b8b2a1ffc802a2951e970454
2 changes: 1 addition & 1 deletion trunk/kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb,
case CPU_UP_PREPARE:
/* Create a new workqueue thread for it. */
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);
return NOTIFY_BAD;
}
Expand Down

0 comments on commit ef28ec1

Please sign in to comment.