]> git.karo-electronics.de Git - karo-tx-linux.git/commit
workqueue: un-GPL function delayed_work_timer_fn()
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Thu, 24 Jan 2013 12:36:31 +0000 (16:36 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:29 +0000 (05:38 -0800)
commit3b35e5879575980379a7f8dae5d03664440fb39f
tree37a426b4111ffc51d2d98bac5301de02eda23c0d
parent62f3431166bb78638f83f3a0fcfdba6e94576621
workqueue: un-GPL function delayed_work_timer_fn()

commit 1438ade5670b56d5386c220e1ad4b5a824a1e585 upstream.

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@openvz.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/workqueue.c