Commit 8e63e66b authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[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: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e3948563
...@@ -332,7 +332,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg ...@@ -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 * Make sure that we do not overflow the buffer
*/ */
if (tty_request_buffer_room(tty, 1) == 0) { if (tty_request_buffer_room(tty, 1) == 0) {
schedule_work(&tty->flip.work); tty_schedule_flip(tty);
return; return;
} }
...@@ -353,7 +353,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg ...@@ -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); } while((rx = uart->urx.w) & URX_DATA_READY);
#endif #endif
schedule_work(&tty->flip.work); tty_schedule_flip(tty);
clear_and_exit: clear_and_exit:
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment