Re: [PATCH] leave loglevel at 7 through sysrq output so you can actuallyread it

From: Martin Bligh
Date: Fri Apr 06 2007 - 12:34:07 EST


Roman Zippel wrote:

On Thu, 5 Apr 2007, Martin Bligh wrote:

We carefully set loglevel to 7, and print the sysrq messsage
as to what event we're doing, but we can't actually see
the output as it sets it back before calling the handler,
rather than after.

Move the assignment down one line.

I think you have to tell sysrq_handle_loglevel() about this too...

Not sure why? That just changes the current loglevel, and seems
unaffected.

I did test the patch, and it works fine.

M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/