]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: Make schedule_work() available again to non GPL modules
authorMarc Dionne <marc.c.dionne@gmail.com>
Mon, 6 May 2013 21:44:55 +0000 (17:44 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 14 May 2013 18:52:51 +0000 (11:52 -0700)
commitfb20ff3274527162b70c7a4e3f9abea5e1164574
tree6c413da4c6374ce569623cb395e5b8f57c02e530
parentab972b46e4a2acb4c0333e67333437bb9e941b8a
workqueue: Make schedule_work() available again to non GPL modules

Commit abb1555ebf1e ("workqueue: inline trivial wrappers") changed
schedule_work() and schedule_delayed_work() to inline wrappers,
but these rely on some symbols that are EXPORT_SYMBOL_GPL, while
the original functions were EXPORT_SYMBOL.  This has the effect of
changing the licensing requirement for these functions and making
them unavailable to non GPL modules.

Make them available again by removing the restriction on the
required symbols.

Signed-off-by: Marc Dionne <marc.dionne@your-file-system.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c