diff options
author | Ricardo B. Marliere <[email protected]> | 2024-03-05 08:25:22 -0300 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2024-03-13 09:23:49 +0100 |
commit | 520776557baae85f671a5cc324c27e3226f5ef81 (patch) | |
tree | 84702e21544aa693c3a37847e23c6a7495a4502b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b5b44ac82930ab511978c87820324e31f741177f (diff) |
s390/tape: make tape_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 tape_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