diff options
author | Ricardo B. Marliere <[email protected]> | 2024-03-05 08:25:24 -0300 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2024-03-13 09:23:50 +0100 |
commit | 69460c5e6be063a85bb144845422776e0ffe8faa (patch) | |
tree | 9806e5770eb3343b52421fdb69b7354742e7464f /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | c8fba0c11f180418c9e4e89353c7f29d7c9e1915 (diff) |
s390/raw3270: make class3270 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 class3270 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/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions