Re: [PATCH] Software Suspend: Fix suspend when console is in VT_AUTO+KD_GRAPHICS mode

From: Pavel Machek
Date: Mon Mar 12 2007 - 16:59:47 EST


Hi!

> When the console is in VT_AUTO+KD_GRAPHICS mode, switching to the
> SUSPEND_CONSOLE fails, resulting in vt_waitactive() waiting indefinitely
> or until the task is interrupted. This patch tests if a console switch
> can occur in set_console() and returns early if a console switch is not
> possible.

> Signed-off-by: Andrew Johnson <ajohnson@xxxxxxxxxxxxx>

ACK. (I hope it still applies to latest mainline).
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/