|
@@ -53,17 +53,6 @@ static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs)
|
|
|
return (char *)char_buf_ptr(b, ofs) + b->size;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * We default to dicing tty buffer allocations to this many characters
|
|
|
- * in order to avoid multiple page allocations. We know the size of
|
|
|
- * tty_buffer itself but it must also be taken into account that the
|
|
|
- * the buffer is 256 byte aligned. See tty_buffer_find for the allocation
|
|
|
- * logic this must match
|
|
|
- */
|
|
|
-
|
|
|
-#define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF)
|
|
|
-
|
|
|
-
|
|
|
struct tty_bufhead {
|
|
|
struct tty_buffer *head; /* Queue head */
|
|
|
struct work_struct work;
|