diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-06-20 21:25:29 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-10-09 12:37:19 +0300 |
commit | e11a7d2ca5cd36b3d1db4d0ccce30c54a29e1ed9 (patch) | |
tree | 14c676424b3d114e502db1087f6690be9d7a2cfd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d33c3d0541339fb16e241283f9c1ef369b4a7093 (diff) | |
download | linux-e11a7d2ca5cd36b3d1db4d0ccce30c54a29e1ed9.tar.xz |
accel: make accel_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the accel_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: dri-devel@lists.freedesktop.org
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions