lkml.org 
[lkml]   [2005]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/10] uml: run mconsole "sysrq" in process context
    Date
    From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

    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>
    ---

    arch/um/drivers/mconsole_user.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/um/drivers/mconsole_user.c b/arch/um/drivers/mconsole_user.c
    --- a/arch/um/drivers/mconsole_user.c
    +++ b/arch/um/drivers/mconsole_user.c
    @@ -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 },
    -
    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: 2005-09-21 19:54    [W:0.023 / U:29.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site