mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
[PATCH] uml: run mconsole "sysrq" in process context
Things are breaking horribly with sysrq called in interrupt context. I want to try to fix it, but probably this is simpler. To tell the truth, sysrq is normally run in interrupt context, so there shouldn't be any problem. There's also a warning from the fault handler because it's run in atomic context (I have a patch for that, only I deferred it). This is why I'm doing this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
dc36abf34e
commit
12ebcd73e4
@ -23,7 +23,7 @@ static struct mconsole_command commands[] = {
|
||||
{ "reboot", mconsole_reboot, MCONSOLE_PROC },
|
||||
{ "config", mconsole_config, MCONSOLE_PROC },
|
||||
{ "remove", mconsole_remove, MCONSOLE_PROC },
|
||||
{ "sysrq", mconsole_sysrq, MCONSOLE_INTR },
|
||||
{ "sysrq", mconsole_sysrq, MCONSOLE_PROC },
|
||||
{ "help", mconsole_help, MCONSOLE_INTR },
|
||||
{ "cad", mconsole_cad, MCONSOLE_INTR },
|
||||
{ "stop", mconsole_stop, MCONSOLE_PROC },
|
||||
|
Loading…
Reference in New Issue
Block a user