workqueue: Make flush_workqueue() available again to non GPL modules
Commit 37b1ef31 ("workqueue: move flush_scheduled_work() to workqueue.h") moved the exported non GPL flush_scheduled_work() from a function to an inline wrapper. Unfortunately, it directly calls flush_workqueue() which is a GPL function. This has the effect of changing the licensing requirement for this function and makes it unavailable to non GPL modules. See commit ad7b1f84 ("workqueue: Make schedule_work() available again to non GPL modules") for precedent. Signed-off-by: NTim Gardner <tim.gardner@canonical.com> Signed-off-by: NTejun Heo <tj@kernel.org>
Showing
想要评论请 注册 或 登录