Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16962
b: refs/heads/master
c: 676121f
h: refs/heads/master
v: v3
  • Loading branch information
Ben Collins authored and Linus Torvalds committed Jan 9, 2006
1 parent 7236c16 commit 0aec37f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9fa37fd1627ec804e57ae0388555719b03b39f20
refs/heads/master: 676121fcb66c861804e38d94214fd5670a1ef595
5 changes: 5 additions & 0 deletions trunk/kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,11 @@ struct workqueue_struct *__create_workqueue(const char *name,
return NULL;

wq->cpu_wq = alloc_percpu(struct cpu_workqueue_struct);
if (!wq->cpu_wq) {
kfree(wq);
return NULL;
}

wq->name = name;
/* We don't need the distraction of CPUs appearing and vanishing. */
lock_cpu_hotplug();
Expand Down

0 comments on commit 0aec37f

Please sign in to comment.