diff options
| author | Andrew Morton <[email protected]> | 2022-12-16 14:44:49 -0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-12-16 14:44:49 -0800 |
| commit | bcfbff2ea3165d07775097df710cb4241fcd2567 (patch) | |
| tree | a0a472be468433aaf0b81d0d54427353b56429d9 /include/linux/tty_buffer.h | |
| parent | 8b777594d2341a82f00b57c020f8af05bded1178 (diff) | |
| parent | 77856d911a8c8724ee8e2b09d55979fc1de8f1c0 (diff) | |
Merge branch 'master' into mm-stable
Diffstat (limited to 'include/linux/tty_buffer.h')
| -rw-r--r-- | include/linux/tty_buffer.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/tty_buffer.h b/include/linux/tty_buffer.h index 1796648c2907..6ceb2789e6c8 100644 --- a/include/linux/tty_buffer.h +++ b/include/linux/tty_buffer.h @@ -17,14 +17,11 @@ struct tty_buffer { int commit; int lookahead; /* Lazy update on recv, can become less than "read" */ int read; - int flags; + bool flags; /* Data points here */ unsigned long data[]; }; -/* Values for .flags field of tty_buffer */ -#define TTYB_NORMAL 1 /* buffer has no flags buffer */ - static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs) { return ((unsigned char *)b->data) + ofs; |