From: Tejun Heo Date: Fri, 3 Aug 2012 17:30:46 +0000 (-0700) Subject: workqueue: fix zero @delay handling of queue_delayed_work_on() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~52^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=715f1300802e6eaefa85f6cfc70ae99af3d5d497;p=pandora-kernel.git workqueue: fix zero @delay handling of queue_delayed_work_on() If @delay is zero and the dealyed_work is idle, queue_delayed_work() queues it for immediate execution; however, queue_delayed_work_on() lacks this logic and always goes through timer regardless of @delay. This patch moves 0 @delay handling logic from queue_delayed_work() to queue_delayed_work_on() so that both functions behave the same. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed