lkml.org 
[lkml]   [2006]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectdon't freeze firewire on suspend.
We had a report from one loony user who tried out suspend to disk
using a swap partition on a firewire drive. As the firewire thread
was put to sleep it didn't work out too well.

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6/drivers/ieee1394/ieee1394_core.c~ 2005-10-06 00:18:56.000000000 -0400
+++ linux-2.6/drivers/ieee1394/ieee1394_core.c 2005-10-06 00:19:21.000000000 -0400
@@ -1030,6 +1030,8 @@ static int hpsbpkt_thread(void *__hi)

daemonize("khpsbpkt");

+ current->flags |= PF_NOFREEZE;
+
while (1) {
if (down_interruptible(&khpsbpkt_sig)) {
if (try_to_freeze())
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-01-05 07:20    [W:0.026 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site