On Thu, Apr 02, 2015 at 07:14:39PM +0800, Lai Jiangshan wrote: > From: Frederic Weisbecker <fweis...@gmail.com> > > The sysfs code usually belongs to the botom of the file since it deals > with high level objects. In the workqueue code it's misplaced and such > that we'll need to work around functions references to allow the sysfs > code to call APIs like apply_workqueue_attrs(). > > Lets move that block further in the file, almost the botom. > > And declare workqueue_sysfs_unregister() just before destroy_workqueue() > which reference it. > > Suggested-by: Tejun Heo <t...@kernel.org> > Cc: Christoph Lameter <c...@linux.com> > Cc: Kevin Hilman <khil...@linaro.org> > Cc: Lai Jiangshan <la...@cn.fujitsu.com> > Cc: Mike Galbraith <bitbuc...@online.de> > Cc: Paul E. McKenney <paul...@linux.vnet.ibm.com> > Cc: Tejun Heo <t...@kernel.org> > Cc: Viresh Kumar <viresh.ku...@linaro.org> > Signed-off-by: Frederic Weisbecker <fweis...@gmail.com> > Signed-off-by: Lai Jiangshan <la...@cn.fujitsu.com>
Moved the forward declaration of workqueue_sysfs_unregister() where other forward declarations are and applied to wq/for-4.1. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/