Skip to content

Commit

Permalink
[IA64] build broken for ia64 simserial.c
Browse files Browse the repository at this point in the history
TTY layer buffering revamp broke ia64 in commit
 33f0f88

  CC      arch/ia64/hp/sim/simserial.o
arch/ia64/hp/sim/simserial.c: In function `receive_chars':
arch/ia64/hp/sim/simserial.c:170: error: structure has no member named `flip'
 ... and so on ...
make[1]: *** [arch/ia64/hp/sim/simserial.o] Error 1

Patch from Andreas Schwab.

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Andreas Schwab authored and Tony Luck committed Jan 13, 2006
1 parent d3ef1f5 commit d50f5c5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions arch/ia64/hp/sim/simserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,9 @@ static void receive_chars(struct tty_struct *tty, struct pt_regs *regs)
}
}
seen_esc = 0;
if (tty->flip.count >= TTY_FLIPBUF_SIZE) break;

*tty->flip.char_buf_ptr = ch;

*tty->flip.flag_buf_ptr = 0;

tty->flip.flag_buf_ptr++;
tty->flip.char_buf_ptr++;
tty->flip.count++;
if (tty_insert_flip_char(tty, ch, TTY_NORMAL) == 0)
break;
}
tty_flip_buffer_push(tty);
}
Expand Down

0 comments on commit d50f5c5

Please sign in to comment.