提交 b104189c 编写于 作者: R Ralf Baechle

handle_sysrq lost its pt_regs * argument

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 e24bb60e
......@@ -441,7 +441,7 @@ siccuart_rx_chars(struct SICC_info *info, struct pt_regs *regs)
#ifdef SUPPORT_SYSRQ
if (info->sysrq) {
if (ch && time_before(jiffies, info->sysrq)) {
handle_sysrq(ch, regs, NULL);
handle_sysrq(ch, NULL);
info->sysrq = 0;
goto ignore_char;
}
......
......@@ -675,7 +675,7 @@ static void sysrq_proc(void *arg)
{
char *op = arg;
handle_sysrq(*op, &current->thread.regs, NULL);
handle_sysrq(*op, NULL);
}
void mconsole_sysrq(struct mc_request *req)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册