summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-09-16 12:15:38 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-16 12:54:31 -0700
commitb64074e46a9c2a7d5c66eff066a7c0b58377a143 (patch)
tree625cb0413eae4f25bad402da2de93851c9915f60
parentfdb36673a9d6accf93b11e7eff3a7e34cd284616 (diff)
downloadtalos-op-linux-b64074e46a9c2a7d5c66eff066a7c0b58377a143.tar.gz
talos-op-linux-b64074e46a9c2a7d5c66eff066a7c0b58377a143.zip
[PATCH] hvc_console suspend fix
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>
-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 ca2f538e549e..613d67f1c7f0 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -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);
OpenPOWER on IntegriCloud