Commit 9f103d98 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] swsusp locking fix

From: Herbert Xu <herbert@gondor.apana.org.au>

update_screen() requires the console semaphore.
parent ae12d0dd
......@@ -616,7 +616,9 @@ asmlinkage void do_magic_resume_2(void)
PRINTK( "ok\n" );
#ifdef SUSPEND_CONSOLE
acquire_console_sem();
update_screen(fg_console); /* Hmm, is this the problem? */
release_console_sem();
#endif
}
......
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