Commit 8bd7f125 authored by Shaohua Li's avatar Shaohua Li Committed by Linus Torvalds

[PATCH] swsusp: ahd_dv_0 can't be stopped

This driver wants to set PF_NOFREEZE.

Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b16eeb47
...@@ -2488,7 +2488,7 @@ ahd_linux_dv_thread(void *data) ...@@ -2488,7 +2488,7 @@ ahd_linux_dv_thread(void *data)
sprintf(current->comm, "ahd_dv_%d", ahd->unit); sprintf(current->comm, "ahd_dv_%d", ahd->unit);
#else #else
daemonize("ahd_dv_%d", ahd->unit); daemonize("ahd_dv_%d", ahd->unit);
current->flags |= PF_FREEZE; current->flags |= PF_NOFREEZE;
#endif #endif
unlock_kernel(); unlock_kernel();
......
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