]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: Make flush_workqueue() available again to non GPL modules
authorTim Gardner <tim.gardner@canonical.com>
Tue, 4 Aug 2015 17:26:04 +0000 (11:26 -0600)
committerTejun Heo <tj@kernel.org>
Tue, 4 Aug 2015 18:04:54 +0000 (14:04 -0400)
commit0c2ca7e4079be4f5cf5bdbfcd8bd46a7ba1b62f0
treefeed0d754d8fa3b31c8ccada6a24925f5d4fa5fc
parent00e36a12f2efb1253b47da198e8e4b76b720fb33
workqueue: Make flush_workqueue() available again to non GPL modules

Commit afd887449edf2288e9e8a40d851053cb572b2946 ("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 28f9375af903392e3a6c59924d68c83a2e826f9e ("workqueue: Make
schedule_work() available again to non GPL modules") for precedent.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c