From: Martin Habets <[EMAIL PROTECTED]> Date: Wed, 17 Aug 2005 21:53:45 +0100
> This patch against 2.6.10 enables the Magic SysRq commands on a SunZilog > serial console. > SysRq is activated by sending a BREAK. Send a command within 5 seconds. This patch had a problem. > - if (uart_handle_sysrq_char(&up->port, ch, regs)) > + if (ch && uart_handle_sysrq_char(&up->port, ch, regs)) uart_handle_sysrq_char() does the "if (ch)" check, you don't need to add it here, that's superfluous. - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
