Commit 6ba94429 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Tejun Heo
Browse files

workqueue: Reorder sysfs code

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.

tj: Moved workqueue_sysfs_unregister() forward declaration where other
    forward declarations are.
Suggested-by: default avatarTejun Heo <>
Cc: Christoph Lameter <>
Cc: Kevin Hilman <>
Cc: Lai Jiangshan <>
Cc: Mike Galbraith <>
Cc: Paul E. McKenney <>
Cc: Tejun Heo <>
Cc: Viresh Kumar <>
Signed-off-by: default avatarFrederic Weisbecker <>
Signed-off-by: default avatarLai Jiangshan <>
Signed-off-by: default avatarTejun Heo <>
parent bffc4375
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment