Re: [PATCH] workqueue: un-GPL function delayed_work_timer_fn()

From: Tejun Heo
Date: Thu Jan 24 2013 - 13:43:19 EST


On Thu, Jan 24, 2013 at 04:36:31PM +0400, Konstantin Khlebnikov wrote:
> commit d8e794dfd51c368ed3f686b7f4172830b60ae47b ("workqueue: set
> delayed_work->timer function on initialization") exports function
> delayed_work_timer_fn() only for GPL modules. This makes delayed-works
> unusable for non-GPL modules, because initialization macro now requires
> GPL symbol. For example schedule_delayed_work() available for non-GPL.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # 3.7

Applied to wq/for-3.8-fixes. Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/