[PATCH] um: fix magic sysrq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Pekka Enberg <[email protected]>

Fix UML compilation when CONFIG_MAGIC_SYSRQ is enabled.

Cc: Jeff Dike <[email protected]>
Cc: Paolo "Blaisorblade" Giarrusso <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>

 arch/um/drivers/mconsole_kern.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: 2.6/arch/um/drivers/mconsole_kern.c
--- 2.6.orig/arch/um/drivers/mconsole_kern.c
+++ 2.6/arch/um/drivers/mconsole_kern.c
@@ -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)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux