aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platform-iss
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-02-03 03:04:08 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 08:32:04 -0800
commit8145916996b91d42b8bb4b0fcd508af295222c7c (patch)
tree298ec43ab4e40888d142ffd5e84be67c80e07c9f /arch/xtensa/platform-iss
parent84542838a3829f34630c589c1eb570656c455a1c (diff)
downloadkernel_samsung_aries-8145916996b91d42b8bb4b0fcd508af295222c7c.zip
kernel_samsung_aries-8145916996b91d42b8bb4b0fcd508af295222c7c.tar.gz
kernel_samsung_aries-8145916996b91d42b8bb4b0fcd508af295222c7c.tar.bz2
[PATCH] Fix some ucLinux breakage from the tty updates
Breakage reported by Adrian Bunk Untested (no hardware) Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/xtensa/platform-iss')
-rw-r--r--arch/xtensa/platform-iss/console.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/xtensa/platform-iss/console.c b/arch/xtensa/platform-iss/console.c
index 4fbddf9..94fdfe4 100644
--- a/arch/xtensa/platform-iss/console.c
+++ b/arch/xtensa/platform-iss/console.c
@@ -128,9 +128,7 @@ static void rs_poll(unsigned long priv)
while (__simc(SYS_select_one, 0, XTISS_SELECT_ONE_READ, (int)&tv,0,0)){
__simc (SYS_read, 0, (unsigned long)&c, 1, 0, 0);
- tty->flip.count++;
- *tty->flip.char_buf_ptr++ = c;
- *tty->flip.flag_buf_ptr++ = TTY_NORMAL;
+ tty_insert_flip_char(tty, c, TTY_NORMAL);
i++;
}