Commit 1438ade5670b56d5386c220e1ad4b5a824a1e585
Committed by
Tejun Heo
1 parent
112202d909
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
workqueue: un-GPL function delayed_work_timer_fn()
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> Cc: stable@vger.kernel.org # 3.7
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
kernel/workqueue.c
... | ... | @@ -1310,7 +1310,7 @@ |
1310 | 1310 | /* should have been called from irqsafe timer with irq already off */ |
1311 | 1311 | __queue_work(dwork->cpu, dwork->wq, &dwork->work); |
1312 | 1312 | } |
1313 | -EXPORT_SYMBOL_GPL(delayed_work_timer_fn); | |
1313 | +EXPORT_SYMBOL(delayed_work_timer_fn); | |
1314 | 1314 | |
1315 | 1315 | static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, |
1316 | 1316 | struct delayed_work *dwork, unsigned long delay) |