Re: [PATCH 1/4 V5] workqueue: Reorder sysfs code

2015-03-24 Thread Tejun Heo
Hello, On Wed, Mar 18, 2015 at 12:40:14PM +0800, Lai Jiangshan wrote: > @@ -4029,6 +3712,323 @@ out_unlock: > put_pwq_unlocked(old_pwq); > } > > +#ifdef CONFIG_SYSFS ... > +#else/* CONFIG_SYSFS */ > +static void workqueue_sysfs_unregister(struct workqueue_struct *wq) { } > +#endi

[PATCH 1/4 V5] workqueue: Reorder sysfs code

2015-03-17 Thread Lai Jiangshan
From: Frederic Weisbecker 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