Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94093
b: refs/heads/master
c: d1ec61e
h: refs/heads/master
i:
  94091: 471687f
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Apr 28, 2008
1 parent 772d861 commit 73c6a40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01c194d9278efc15d4785ff205643e9c0bdcef53
refs/heads/master: d1ec61e6686c3c137aae33a11518b8e629e9c179
3 changes: 2 additions & 1 deletion trunk/drivers/serial/68360serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ extern int kgdb_output_string (const char* s, unsigned int count);

/* #ifdef CONFIG_SERIAL_CONSOLE */ /* This seems to be a post 2.0 thing - mles */
#include <linux/console.h>
#include <linux/jiffies.h>

/* this defines the index into rs_table for the port to use
*/
Expand Down Expand Up @@ -1729,7 +1730,7 @@ static void rs_360_wait_until_sent(struct tty_struct *tty, int timeout)
msleep_interruptible(jiffies_to_msecs(char_time));
if (signal_pending(current))
break;
if (timeout && ((orig_jiffies + timeout) < jiffies))
if (timeout && (time_after(jiffies, orig_jiffies + timeout)))
break;
/* The 'tx_cur' is really the next buffer to send. We
* have to back up to the previous BD and wait for it
Expand Down

0 comments on commit 73c6a40

Please sign in to comment.