[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>
This commit is contained in:
committed by
Linus Torvalds
parent
fdb36673a9
commit
b64074e46a
@@ -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);
|
||||||
|
Reference in New Issue
Block a user