Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

handle_sysrq lost its pt_regs * argument

parent e24bb60e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -441,7 +441,7 @@ siccuart_rx_chars(struct SICC_info *info, struct pt_regs *regs)
#ifdef SUPPORT_SYSRQ
#ifdef SUPPORT_SYSRQ
        if (info->sysrq) {
        if (info->sysrq) {
            if (ch && time_before(jiffies, info->sysrq)) {
            if (ch && time_before(jiffies, info->sysrq)) {
                handle_sysrq(ch, regs, NULL);
                handle_sysrq(ch, NULL);
                info->sysrq = 0;
                info->sysrq = 0;
                goto ignore_char;
                goto ignore_char;
            }
            }
+1 −1
Original line number Original line Diff line number Diff line
@@ -675,7 +675,7 @@ static void sysrq_proc(void *arg)
{
{
	char *op = arg;
	char *op = arg;


	handle_sysrq(*op, &current->thread.regs, NULL);
	handle_sysrq(*op, NULL);
}
}


void mconsole_sysrq(struct mc_request *req)
void mconsole_sysrq(struct mc_request *req)