Commit b64074e4 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fdb36673
...@@ -668,6 +668,7 @@ int khvcd(void *unused) ...@@ -668,6 +668,7 @@ int khvcd(void *unused)
do { do {
poll_mask = 0; poll_mask = 0;
hvc_kicked = 0; hvc_kicked = 0;
try_to_freeze();
wmb(); wmb();
if (cpus_empty(cpus_in_xmon)) { if (cpus_empty(cpus_in_xmon)) {
spin_lock(&hvc_structs_lock); spin_lock(&hvc_structs_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment