summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 21:42:26 +0200
committerClark Williams <williams@redhat.com>2012-04-11 11:07:49 -0500
commit7fff827eaf69a4d1bf06dd5623b3c07c06729e4f (patch)
tree4adcf54bddeeb10ae6089483c29b309da3fa781d
parent7faeb36ea8906941f50f9e608886ffc427b3a3b7 (diff)
workqueue-use-get-cpu-light.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 3fd5280bb008..33d1095606f1 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1058,8 +1058,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;
}