Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85916
b: refs/heads/master
c: 5efe92c
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Feb 19, 2008
1 parent fc8cb3a commit d1811a2
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: 2b79aac9038ee52fd8d89216b1a3ec9bd8285fac
refs/heads/master: 5efe92c68045817b97927b748f369d407c1d89ab
2 changes: 2 additions & 0 deletions trunk/arch/mn10300/kernel/gdb-io-ttysm.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,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 @@ -207,6 +208,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 & (PAGE_SIZE - 1);

st &= SC01STR_RXF | SC01STR_RBF | SC01STR_FEF | SC01STR_PEF |
Expand Down

0 comments on commit d1811a2

Please sign in to comment.