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 60d6fd2636f3..7ea75529eabb 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -4626,6 +4626,8 @@ void wq_worker_comm(char *buf, size_t size, struct task_struct *task)
4626 mutex_unlock(&wq_pool_attach_mutex); 4626 mutex_unlock(&wq_pool_attach_mutex);
4627} 4627}
4628 4628
4629#ifdef CONFIG_SMP
4630
4629/* 4631/*
4630 * CPU hotplug. 4632 * CPU hotplug.
4631 * 4633 *
@@ -4846,8 +4848,6 @@ int workqueue_offline_cpu(unsigned int cpu)
4846 return 0; 4848 return 0;
4847} 4849}
4848 4850
4849#ifdef CONFIG_SMP
4850
4851struct work_for_cpu { 4851struct work_for_cpu {
4852 struct work_struct work; 4852 struct work_struct work;
4853 long (*fn)(void *); 4853 long (*fn)(void *);