diff options
author | Greg Ungerer <gerg@snapgear.com> | 2006-02-07 18:19:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-07 19:19:15 -0500 |
commit | 8e63e66b4cd066fe6c2d962460e286c2a61d3fe8 (patch) | |
tree | d413ccce6ae840ad53d17aecd91eb9ebdfdc91c3 /drivers/serial | |
parent | e39485636b6db2def114f38104fe132af73ff0f5 (diff) |
[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 'drivers/serial')
-rw-r--r-- | drivers/serial/68328serial.c | 4 |
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 | |||
332 | * Make sure that we do not overflow the buffer | 332 | * Make sure that we do not overflow the buffer |
333 | */ | 333 | */ |
334 | if (tty_request_buffer_room(tty, 1) == 0) { | 334 | if (tty_request_buffer_room(tty, 1) == 0) { |
335 | schedule_work(&tty->flip.work); | 335 | tty_schedule_flip(tty); |
336 | return; | 336 | return; |
337 | } | 337 | } |
338 | 338 | ||
@@ -353,7 +353,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg | |||
353 | } while((rx = uart->urx.w) & URX_DATA_READY); | 353 | } while((rx = uart->urx.w) & URX_DATA_READY); |
354 | #endif | 354 | #endif |
355 | 355 | ||
356 | schedule_work(&tty->flip.work); | 356 | tty_schedule_flip(tty); |
357 | 357 | ||
358 | clear_and_exit: | 358 | clear_and_exit: |
359 | return; | 359 | return; |