aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 9ca34cddaf6d..2994a0e3a61c 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2568,7 +2568,7 @@ EXPORT_SYMBOL(schedule_delayed_work_on);
2568int schedule_on_each_cpu(work_func_t func) 2568int schedule_on_each_cpu(work_func_t func)
2569{ 2569{
2570 int cpu; 2570 int cpu;
2571 struct work_struct *works; 2571 struct work_struct __percpu *works;
2572 2572
2573 works = alloc_percpu(struct work_struct); 2573 works = alloc_percpu(struct work_struct);
2574 if (!works) 2574 if (!works)
@@ -3527,7 +3527,7 @@ static int __init init_workqueues(void)
3527 unsigned int cpu; 3527 unsigned int cpu;
3528 int i; 3528 int i;
3529 3529
3530 hotcpu_notifier(workqueue_cpu_callback, CPU_PRI_WORKQUEUE); 3530 cpu_notifier(workqueue_cpu_callback, CPU_PRI_WORKQUEUE);
3531 3531
3532 /* initialize gcwqs */ 3532 /* initialize gcwqs */
3533 for_each_gcwq_cpu(cpu) { 3533 for_each_gcwq_cpu(cpu) {