[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: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b16eeb4729
commit
8bd7f125e2
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user