Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334580
b: refs/heads/master
c: c88d8df
h: refs/heads/master
v: v3
  • Loading branch information
Max Filippov authored and Chris Zankel committed Oct 16, 2012
1 parent 6054c02 commit dceb0e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 50c08f8e9f44bc7b20e06c06d1180f3b914e5a83
refs/heads/master: c88d8df0cc69fe0238f2c805a87cc67fb27a43fe
9 changes: 2 additions & 7 deletions trunk/arch/xtensa/platforms/iss/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static int rs_write(struct tty_struct * tty,
{
/* see drivers/char/serialX.c to reference original version */

__simc (SYS_write, 1, (unsigned long)buf, count, 0, 0);
simc_write(1, buf, count);
return count;
}

Expand Down Expand Up @@ -122,12 +122,7 @@ static void rs_poll(unsigned long priv)

static int rs_put_char(struct tty_struct *tty, unsigned char ch)
{
char buf[2];

buf[0] = ch;
buf[1] = '\0'; /* Is this NULL necessary? */
__simc (SYS_write, 1, (unsigned long) buf, 1, 0, 0);
return 1;
return rs_write(tty, &ch, 1);
}

static void rs_flush_chars(struct tty_struct *tty)
Expand Down

0 comments on commit dceb0e2

Please sign in to comment.