mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* don't freeze firewire on suspend.
@ 2006-01-05  6:18 Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2006-01-05  6:18 UTC (permalink / raw)
  To: Linux Kernel

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())

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-05  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-05  6:18 don't freeze firewire on suspend Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®