lkml.org 
[lkml]   [2006]   [Oct]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 8 Oct 2006 11:47:54 +0300 (EEST)
FromPekka J Enberg <>
Subject[PATCH] um: fix magic sysrq
From: Pekka Enberg <penberg@cs.helsinki.fi>

Fix UML compilation when CONFIG_MAGIC_SYSRQ is enabled.

Cc: Jeff Dike <jdike@addtoit.com>
Cc: Paolo "Blaisorblade" Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---
 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-10-08 10:51    [from the cache]
©2003-2008