aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/amiserial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/amiserial.c')
-rw-r--r--drivers/char/amiserial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/amiserial.c b/drivers/char/amiserial.c
index 39880eb58f35..0e2b72f2b887 100644
--- a/drivers/char/amiserial.c
+++ b/drivers/char/amiserial.c
@@ -902,8 +902,7 @@ static int rs_write(struct tty_struct * tty, const unsigned char *buf, int count
902 if (!info->xmit.buf) 902 if (!info->xmit.buf)
903 return 0; 903 return 0;
904 904
905 local_save_flags(flags); 905 local_irq_save(flags);
906 local_irq_disable();
907 while (1) { 906 while (1) {
908 c = CIRC_SPACE_TO_END(info->xmit.head, 907 c = CIRC_SPACE_TO_END(info->xmit.head,
909 info->xmit.tail, 908 info->xmit.tail,