summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-18 00:39:11 +0100
committerAdrian Bunk <bunk@stusta.de>2006-12-18 00:39:11 +0100
commit17735bd9822900d82278842f6bbe7a0e1c64c3b1 (patch)
tree3ba3bf308858f719f616b802a45ff0eeda61da5e /drivers/char
parent8132c7a57ae81db8f680ed4ef07a1a32fd5ee129 (diff)
hvc_console suspend fix
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hvc_console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index f65b2e14a485..d763a97f1f40 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -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);