From: Tejun Heo Date: Tue, 21 Aug 2012 20:18:24 +0000 (-0700) Subject: workqueue: use irqsafe timer for delayed_work X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~52^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0aecdd874d78b7129a64b056c20e529e2c916df;p=pandora-kernel.git workqueue: use irqsafe timer for delayed_work Up to now, for delayed_works, try_to_grab_pending() couldn't be used from IRQ handlers because IRQs may happen while delayed_work_timer_fn() is in progress leading to indefinite -EAGAIN. This patch makes delayed_work use the new TIMER_IRQSAFE flag for delayed_work->timer. This makes try_to_grab_pending() and thus mod_delayed_work_on() safe to call from IRQ handlers. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed