mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
tty: move N_TTY_BUF_SIZE to n_tty
"N_TTY_BUF_SIZE" is private to n_tty and shall not be exposed to the
world. Definitely not in tty.h somewhere in the middle of "struct
tty_struct".
This is a remnant of moving "read_flags" to "struct n_tty_data" in
commit 3fe780b379 ("TTY: move ldisc data from tty_struct: bitmaps").
But some cleanup was needed first (in previous patches).
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-5-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0738abc2a4
commit
d2e38e713b
|
|
@ -56,6 +56,8 @@
|
|||
*/
|
||||
#define WAKEUP_CHARS 256
|
||||
|
||||
#define N_TTY_BUF_SIZE 4096
|
||||
|
||||
/*
|
||||
* This defines the low- and high-watermarks for throttling and
|
||||
* unthrottling the TTY driver. These watermarks are used for
|
||||
|
|
|
|||
|
|
@ -239,7 +239,6 @@ struct tty_struct {
|
|||
|
||||
struct list_head tty_files;
|
||||
|
||||
#define N_TTY_BUF_SIZE 4096
|
||||
struct work_struct SAK_work;
|
||||
} __randomize_layout;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user