diff options
Diffstat (limited to 'drivers/char/amiserial.c')
-rw-r--r-- | drivers/char/amiserial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/amiserial.c b/drivers/char/amiserial.c index 0e2b72f2b887..4eaceabd8cea 100644 --- a/drivers/char/amiserial.c +++ b/drivers/char/amiserial.c | |||
@@ -1574,7 +1574,7 @@ static void rs_wait_until_sent(struct tty_struct *tty, int timeout) | |||
1574 | if (timeout && time_after(jiffies, orig_jiffies + timeout)) | 1574 | if (timeout && time_after(jiffies, orig_jiffies + timeout)) |
1575 | break; | 1575 | break; |
1576 | } | 1576 | } |
1577 | current->state = TASK_RUNNING; | 1577 | __set_current_state(TASK_RUNNING); |
1578 | #ifdef SERIAL_DEBUG_RS_WAIT_UNTIL_SENT | 1578 | #ifdef SERIAL_DEBUG_RS_WAIT_UNTIL_SENT |
1579 | printk("lsr = %d (jiff=%lu)...done\n", lsr, jiffies); | 1579 | printk("lsr = %d (jiff=%lu)...done\n", lsr, jiffies); |
1580 | #endif | 1580 | #endif |
@@ -1700,7 +1700,7 @@ static int block_til_ready(struct tty_struct *tty, struct file * filp, | |||
1700 | #endif | 1700 | #endif |
1701 | schedule(); | 1701 | schedule(); |
1702 | } | 1702 | } |
1703 | current->state = TASK_RUNNING; | 1703 | __set_current_state(TASK_RUNNING); |
1704 | remove_wait_queue(&info->open_wait, &wait); | 1704 | remove_wait_queue(&info->open_wait, &wait); |
1705 | if (extra_count) | 1705 | if (extra_count) |
1706 | state->count++; | 1706 | state->count++; |