Commit d412ace
workqueue: make wq_subsys const
Now that the driver core can properly handle constant struct bus_type,
move the wq_subsys variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Suggested-and-reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>1 parent c70e177 commit d412ace
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6692 | 6692 | | |
6693 | 6693 | | |
6694 | 6694 | | |
6695 | | - | |
| 6695 | + | |
6696 | 6696 | | |
6697 | 6697 | | |
6698 | 6698 | | |
| |||
0 commit comments