diff options
| author | Andrew Morton <akpm@linux-foundation.org> | 2022-12-17 01:45:03 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-17 01:45:03 +0300 |
| commit | 563a5423b7b75e1bee8b91caddf3181cca2a74bd (patch) | |
| tree | 44fa2159392be20e96434588a866813dc08b11d7 /include/linux/tty_buffer.h | |
| parent | f9eeef5918bbe1f2545d36280330dced25d6cf97 (diff) | |
| parent | 77856d911a8c8724ee8e2b09d55979fc1de8f1c0 (diff) | |
| download | linux-563a5423b7b75e1bee8b91caddf3181cca2a74bd.tar.xz | |
Merge branch 'master' into mm-nonmm-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; |
