Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119674
b: refs/heads/master
c: 004b50f
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Dec 4, 2008
1 parent edc7c4b commit dd8d37f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8711cca2251f1fc3beb870a75ff847bb55225490
refs/heads/master: 004b50f4ed2accb56069d56714a32484f8b83ec0
2 changes: 2 additions & 0 deletions trunk/arch/mn10300/kernel/gdb-io-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ int gdbstub_io_rx_char(unsigned char *_ch, int nonblock)
try_again:
/* pull chars out of the buffer */
ix = gdbstub_rx_outp;
barrier();
if (ix == gdbstub_rx_inp) {
if (nonblock)
return -EAGAIN;
Expand All @@ -110,6 +111,7 @@ int gdbstub_io_rx_char(unsigned char *_ch, int nonblock)

ch = gdbstub_rx_buffer[ix++];
st = gdbstub_rx_buffer[ix++];
barrier();
gdbstub_rx_outp = ix & 0x00000fff;

if (st & UART_LSR_BI) {
Expand Down

0 comments on commit dd8d37f

Please sign in to comment.