From: David S. Miller Date: Thu, 16 Feb 2006 08:42:21 +0000 (-0800) Subject: [SPARC64] sunhv: Support SYSRQ properly. X-Git-Tag: v2.6.17-rc1~1184^2~96 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135066a21129760e44a51a7ef31d8c861f8ddace;p=linux-2.6 [SPARC64] sunhv: Support SYSRQ properly. By calling uart_handle_break(). We'll still do the "sun_do_break()" handling if the user gives two breaks in a row. We should probably do this in the other Sparc serial drivers too. Signed-off-by: David S. Miller --- diff --git a/drivers/serial/sunhv.c b/drivers/serial/sunhv.c index 7f73907db7..378a1784ce 100644 --- a/drivers/serial/sunhv.c +++ b/drivers/serial/sunhv.c @@ -91,6 +91,8 @@ static struct tty_struct *receive_chars(struct uart_port *port, struct pt_regs * break; if (c == CON_BREAK) { + if (uart_handle_break(port)) + continue; saw_console_brk = 1; c = 0; }