[PATCH] hvc_console suspend fix
authorAndrew Morton <akpm@osdl.org>
Sat, 16 Sep 2006 19:15:38 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Sep 2006 19:54:31 +0000 (12:54 -0700)
Fix http://bugzilla.kernel.org/show_bug.cgi?id=7152

Cc: Michael Tautschnig <tautschn@model.in.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hvc_console.c

index ca2f538e549e3fe6e87a3a850d3961e9b06ffeb9..613d67f1c7f06a054f1f8fdf78418cb8762afaac 100644 (file)
@@ -668,6 +668,7 @@ int khvcd(void *unused)
        do {
                poll_mask = 0;
                hvc_kicked = 0;
+               try_to_freeze();
                wmb();
                if (cpus_empty(cpus_in_xmon)) {
                        spin_lock(&hvc_structs_lock);