diff options
author | Ricardo B. Marliere <[email protected]> | 2024-03-05 08:25:21 -0300 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2024-03-13 09:23:49 +0100 |
commit | b5b44ac82930ab511978c87820324e31f741177f (patch) | |
tree | fd9bea58099f740ffa8d7daf425dd658a7ea51c4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0ad1d9fa598c5dcb7b7ec42d741c383776e3e196 (diff) |
s390/vmlogrdr: make vmlogrdr_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take
a const *"), the driver core allows for struct class to be in read-only
memory, so move the vmlogrdr_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Cc: Greg Kroah-Hartman <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: "Ricardo B. Marliere" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions