diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-04 10:29:39 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-14 16:01:37 +0200 |
commit | 3b5eba544a8af6826209d34daf6197b79b1333bf (patch) | |
tree | e1b07db6ee8ed16979f90612975fb3f2c2168cd3 /rust/kernel | |
parent | d4a5d397c7fb1ca967e0da202cac196e7324f4ea (diff) |
perf: make pmu_bus const
Now that the driver core can properly handle constant struct bus_type,
move the pmu_bus 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-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-events-v1-1-c779d1639c3a@marliere.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions