summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 21:42:26 +0200
committerSteven Rostedt <rostedt@rostedt.homelinux.com>2013-08-16 21:59:49 -0400
commitc20275f5fbf5d6e779bf5841ccd020696d6e873e (patch)
tree7a497b308309ca74acf7e57f170e8efd495e46e1
parentbae41b0a624e0b2ade453ea5abc740b2b8b71417 (diff)
downloadlinux-rt-c20275f5fbf5d6e779bf5841ccd020696d6e873e.tar.gz
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 9e99e1078ddf..e9c062e4d851 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1083,8 +1083,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;
}