Commit b104189c authored by Ralf Baechle's avatar Ralf Baechle
Browse files

handle_sysrq lost its pt_regs * argument


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment