diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 21:42:26 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-11 11:07:49 -0500 |
commit | 7fff827eaf69a4d1bf06dd5623b3c07c06729e4f (patch) | |
tree | 4adcf54bddeeb10ae6089483c29b309da3fa781d | |
parent | 7faeb36ea8906941f50f9e608886ffc427b3a3b7 (diff) |
workqueue-use-get-cpu-light.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/workqueue.c | 4 |
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; } |