Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206255
b: refs/heads/master
c: 6ee0578
h: refs/heads/master
i:
  206253: 29df1f4
  206251: 0b1b1c6
  206247: 87ea106
  206239: 8e01549
v: v3
  • Loading branch information
Suresh Siddha authored and Tejun Heo committed Aug 1, 2010
1 parent 08a85ce commit ffcb289
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 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: 098849516dd522a343e659740c8f1394a5b7fa69
refs/heads/master: 6ee0578b4daaea01c96b172c6aacca43fd9807a6
1 change: 0 additions & 1 deletion trunk/include/linux/workqueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ extern int schedule_delayed_work_on(int cpu, struct delayed_work *work,
extern int schedule_on_each_cpu(work_func_t func);
extern int keventd_up(void);

extern void init_workqueues(void);
int execute_in_process_context(work_func_t fn, struct execute_work *);

extern int flush_work(struct work_struct *work);
Expand Down
2 changes: 0 additions & 2 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <linux/start_kernel.h>
#include <linux/security.h>
#include <linux/smp.h>
#include <linux/workqueue.h>
#include <linux/profile.h>
#include <linux/rcupdate.h>
#include <linux/moduleparam.h>
Expand Down Expand Up @@ -786,7 +785,6 @@ static void __init do_initcalls(void)
*/
static void __init do_basic_setup(void)
{
init_workqueues();
cpuset_init_smp();
usermodehelper_init();
init_tmpfs();
Expand Down
4 changes: 3 additions & 1 deletion trunk/kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -3507,7 +3507,7 @@ void thaw_workqueues(void)
}
#endif /* CONFIG_FREEZER */

void __init init_workqueues(void)
static int __init init_workqueues(void)
{
unsigned int cpu;
int i;
Expand Down Expand Up @@ -3559,4 +3559,6 @@ void __init init_workqueues(void)
system_unbound_wq = alloc_workqueue("events_unbound", WQ_UNBOUND,
WQ_UNBOUND_MAX_ACTIVE);
BUG_ON(!system_wq || !system_long_wq || !system_nrt_wq);
return 0;
}
early_initcall(init_workqueues);

0 comments on commit ffcb289

Please sign in to comment.