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 <gregkh@linuxfoundation.org>
Suggested-and-reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent c70e177 commit d412ace
1 file changed
Lines changed: 1 addition & 1 deletion
| 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