Files
linux-legacy/include/linux
Andrew Johnson b257bc051f [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode
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.

[akpm@linux-foundation.org: cleanup]
Signed-off-by: Andrew Johnson <ajohnson@intrinsyc.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-16 19:25:05 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-02-20 17:10:15 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-02-20 17:10:14 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-02-16 15:19:17 -08:00
…
…
…
…
…
…
…
2007-02-11 11:18:07 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-02-13 22:09:01 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-03-02 20:44:51 -08:00
…
2007-03-06 06:08:11 -05:00
…
…
…
…
…
…
2007-02-11 11:18:07 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-03-01 14:53:38 -08:00
…
…
…
…
…
…
…
…
…
…
…
2007-02-12 09:48:30 -08:00
…
2007-02-16 14:37:06 +00:00
…
…
…
…
…
…
…
…
2007-03-04 11:12:42 +02:00
…
…
…
…
…
…
…
…
2007-02-17 19:17:37 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2007-03-01 14:53:35 -08:00
…
…
…
…
…
…
…
…
2007-03-12 16:31:50 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-03-12 16:31:50 -07:00
…
…
…
…
…
…
…
…
…
2007-02-11 10:51:28 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-03-05 07:57:51 -08:00
…
…
…
…
…
…
…
2007-02-17 19:07:33 +01:00
…
…
…
…
…
2007-02-20 17:10:14 -08:00
2007-02-20 17:10:14 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-02-12 09:48:41 -08:00
…
2007-02-20 17:10:13 -08:00
…
…
…
…
…
…
…
…
…
…
…
2007-02-16 08:13:57 -08:00
…
2007-02-16 08:13:56 -08:00
…
…
2007-03-05 07:57:51 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-02-11 11:18:05 -08:00
…
…
…
…
…
…