]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hvc_console suspend fix
authorAndrew Morton <akpm@osdl.org>
Sun, 17 Dec 2006 23:39:11 +0000 (00:39 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sun, 17 Dec 2006 23:39:11 +0000 (00:39 +0100)
Fix http://bugzilla.kernel.org/show_bug.cgi?id=7152

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/char/hvc_console.c

index f65b2e14a48561adccb082815e1cadfced89a042..d763a97f1f400b1756a813d5187fc8ae0cc64f58 100644 (file)
@@ -681,6 +681,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);