diff options
Diffstat (limited to 'drivers/tty/n_tty.c')
-rw-r--r-- | drivers/tty/n_tty.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 39d6ab6551e0..d2256d08ee7e 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c | |||
@@ -61,7 +61,7 @@ | |||
61 | * controlling the space in the read buffer. | 61 | * controlling the space in the read buffer. |
62 | */ | 62 | */ |
63 | #define TTY_THRESHOLD_THROTTLE 128 /* now based on remaining room */ | 63 | #define TTY_THRESHOLD_THROTTLE 128 /* now based on remaining room */ |
64 | #define TTY_THRESHOLD_UNTHROTTLE 128 | 64 | #define TTY_THRESHOLD_UNTHROTTLE 128 |
65 | 65 | ||
66 | /* | 66 | /* |
67 | * Special byte codes used in the echo buffer to represent operations | 67 | * Special byte codes used in the echo buffer to represent operations |
@@ -405,7 +405,7 @@ static ssize_t process_output_block(struct tty_struct *tty, | |||
405 | const unsigned char *buf, unsigned int nr) | 405 | const unsigned char *buf, unsigned int nr) |
406 | { | 406 | { |
407 | int space; | 407 | int space; |
408 | int i; | 408 | int i; |
409 | const unsigned char *cp; | 409 | const unsigned char *cp; |
410 | 410 | ||
411 | mutex_lock(&tty->output_lock); | 411 | mutex_lock(&tty->output_lock); |
@@ -1607,7 +1607,7 @@ static inline int input_available_p(struct tty_struct *tty, int amt) | |||
1607 | } | 1607 | } |
1608 | 1608 | ||
1609 | /** | 1609 | /** |
1610 | * copy_from_read_buf - copy read data directly | 1610 | * copy_from_read_buf - copy read data directly |
1611 | * @tty: terminal device | 1611 | * @tty: terminal device |
1612 | * @b: user data | 1612 | * @b: user data |
1613 | * @nr: size of data | 1613 | * @nr: size of data |
@@ -1909,7 +1909,7 @@ do_it_again: | |||
1909 | if (nr) | 1909 | if (nr) |
1910 | clear_bit(TTY_PUSH, &tty->flags); | 1910 | clear_bit(TTY_PUSH, &tty->flags); |
1911 | } else if (test_and_clear_bit(TTY_PUSH, &tty->flags)) | 1911 | } else if (test_and_clear_bit(TTY_PUSH, &tty->flags)) |
1912 | goto do_it_again; | 1912 | goto do_it_again; |
1913 | 1913 | ||
1914 | n_tty_set_room(tty); | 1914 | n_tty_set_room(tty); |
1915 | return retval; | 1915 | return retval; |