summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 0352a812af8b..b973d6609fdd 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1067,8 +1067,8 @@ int queue_work(struct workqueue_struct *wq, struct work_struct *work)
{
int ret;
- ret = queue_work_on(get_cpu(), wq, work);
- put_cpu();
+ ret = queue_work_on(get_cpu_light(), wq, work);
+ put_cpu_light();
return ret;
}