summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 21:42:26 +0200
committerClark Williams <williams@redhat.com>2012-02-15 10:32:57 -0600
commit8efbe1b8c91c79b908ffe19feef0abf8f5a7dd6e (patch)
treedf767cd5481838b941e430417f3e7b7194231ee1 /kernel
parent7f5b8b9e2d6d2f524eecc9149f163a0cfd379dfa (diff)
workqueue-use-get-cpu-light.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 700b9ac4dfa3..e8f4cce48dab 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1061,8 +1061,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;
}