summaryrefslogtreecommitdiffstats
path: root/arch/ppc/8xx_io/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/8xx_io/uart.c')
-rw-r--r--arch/ppc/8xx_io/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/8xx_io/uart.c b/arch/ppc/8xx_io/uart.c
index fdbd0c796..94901245f 100644
--- a/arch/ppc/8xx_io/uart.c
+++ b/arch/ppc/8xx_io/uart.c
@@ -1692,7 +1692,7 @@ static void rs_8xx_wait_until_sent(struct tty_struct *tty, int timeout)
schedule_timeout(char_time);
if (signal_pending(current))
break;
- if (timeout && ((orig_jiffies + timeout) < jiffies))
+ if (timeout && time_after(jiffies, orig_jiffies + timeout))
break;
bdp = info->tx_cur;
} while (bdp->cbd_sc & BD_SC_READY);