summaryrefslogtreecommitdiffstats
path: root/drivers/serial/68328serial.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-02-08 00:19:17 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-08 01:19:15 +0100
commit8e63e66b4cd066fe6c2d962460e286c2a61d3fe8 (patch)
treed413ccce6ae840ad53d17aecd91eb9ebdfdc91c3 /drivers/serial/68328serial.c
parent[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c (diff)
downloadlinux-8e63e66b4cd066fe6c2d962460e286c2a61d3fe8.tar.xz
linux-8e63e66b4cd066fe6c2d962460e286c2a61d3fe8.zip
[PATCH] m68knommu: use tty_schedule_flip() in 68328serial.c
Use the new tty_schedule_flip() instead of the original direct schedule_work of the flip buffer. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--drivers/serial/68328serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c
index 8cbf0fc5a225..7f0f35a05dca 100644
--- a/drivers/serial/68328serial.c
+++ b/drivers/serial/68328serial.c
@@ -332,7 +332,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg
* Make sure that we do not overflow the buffer
*/
if (tty_request_buffer_room(tty, 1) == 0) {
- schedule_work(&tty->flip.work);
+ tty_schedule_flip(tty);
return;
}
@@ -353,7 +353,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg
} while((rx = uart->urx.w) & URX_DATA_READY);
#endif
- schedule_work(&tty->flip.work);
+ tty_schedule_flip(tty);
clear_and_exit:
return;