diff options
author | Ricardo B. Marliere <[email protected]> | 2024-03-01 14:51:48 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2024-03-05 15:15:27 -0700 |
commit | 626f534d774caaccd6861fbccee45a1a6a8781b3 (patch) | |
tree | a8e3d08e002da4c88548d0f4a7198c3d0a63a15e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1f92d6a7c65f390617463532b408030a5a168097 (diff) |
vfio/mbochs: make mbochs_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 mbochs_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: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions