Signed-off-by: Alan Cox <email@example.com>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.24-rc2-mm1/drivers/char/n_tty.c linux-2.6.24-rc2-mm1/drivers/char/n_tty.c
--- linux.vanilla-2.6.24-rc2-mm1/drivers/char/n_tty.c 2007-11-16 17:54:39.000000000 +0000
+++ linux-2.6.24-rc2-mm1/drivers/char/n_tty.c 2007-11-16 18:19:47.000000000 +0000
@@ -1,6 +1,6 @@
* n_tty.c --- implements the N_TTY line discipline.
* This code used to be in tty_io.c, but things are getting hairy
* enough that it made sense to split things off. (The N_TTY
* processing has changed so much that it's hardly recognizable,
@@ -8,19 +8,19 @@
* Note that the open routine for N_TTY is guaranteed never to return
* an error. This is because Linux will fall back to setting a line
- * to N_TTY if it can not switch to any other line discipline.
+ * to N_TTY if it can not switch to any other line discipline.
* Written by Theodore Ts'o, Copyright 1994.
* This file also contains code originally written by Linus Torvalds,
* Copyright 1991, 1992, 1993, and by Julian Cowley, Copyright 1994.
* This file may be redistributed under the terms of the GNU General Public
* Reduced memory usage for older ARM systems - Russell King.
- * 2000/01/20 Fixed SMP locking on put_tty_queue using bits of
+ * 2000/01/20 Fixed SMP locking on put_tty_queue using bits of
* the patch by Andrew J. Kroll <firstname.lastname@example.org>
* who actually finally proved there really was a race.
@@ -144,11 +144,11 @@
* Can sleep, may be called under the atomic_read_lock mutex but
* this is not guaranteed.
-static void check_unthrottle(struct tty_struct * tty)
+static void check_unthrottle(struct tty_struct *tty)
if (tty->count &&
- test_and_clear_bit(TTY_THROTTLED, &tty->flags) &&
+ test_and_clear_bit(TTY_THROTTLED, &tty->flags) &&