diff options
author | 2024-12-13 16:35:05 -0300 | |
---|---|---|
committer | 2024-12-14 15:40:27 +0100 | |
commit | aea2654cce40a6e34e91f3be2a31cd040fdea822 (patch) | |
tree | 067c40991f076b08ce5e99badf4daa8e4da498b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: serial: extract uart_change_port() from uart_set_info() (diff) | |
download | wireguard-linux-aea2654cce40a6e34e91f3be2a31cd040fdea822.tar.xz wireguard-linux-aea2654cce40a6e34e91f3be2a31cd040fdea822.zip |
tty: Make sysctl table const
Since commit 7abc9b53bd51 ("sysctl: allow registration of const struct
ctl_table"), the sysctl registration API allows for struct ctl_table to be
in read-only memory. Move tty_table to be declared at build time, instead
of having to be dynamically allocated at boot time.
Cc: Thomas Weißschuh <linux@weissschuh.net>
Suggested-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Ricardo B. Marliere <rbm@suse.com>
Link: https://lore.kernel.org/r/20241213-sysctl_const-tty-v1-1-2e2bcec77f85@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions