diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 21:42:26 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-02 11:52:29 -0600 |
commit | a5e7702193db23e29a31099799af6f14643f4c77 (patch) | |
tree | 1604e8ff68887a6ca8d48c1047b9f0fa05ab2980 | |
parent | fe96eb7cad08f6d164a241088a50b6096d12468d (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 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; } |