aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-01-06 03:18:38 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:33:43 -0500
commit8c1d286e6aa5581e9d214cbaec2bee0394bb8de8 (patch)
tree818df5a64c9376286501c8563e4983ddd2085c27
parent277c6e2ad7369558dbd7ffbcc6dcbe16458bf723 (diff)
[PATCH] don'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> Cc: Pavel Machek <pavel@ucw.cz> Cc: Ben Collins <bcollins@debian.org> Cc: Jody McIntyre <scjody@modernduck.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/ieee1394/ieee1394_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c
index 64fbbb01d52a..25ef5a86f5f0 100644
--- a/drivers/ieee1394/ieee1394_core.c
+++ b/drivers/ieee1394/ieee1394_core.c
@@ -1027,10 +1027,10 @@ static int hpsbpkt_thread(void *__hi)
1027 1027
1028 daemonize("khpsbpkt"); 1028 daemonize("khpsbpkt");
1029 1029
1030 current->flags |= PF_NOFREEZE;
1031
1030 while (1) { 1032 while (1) {
1031 if (down_interruptible(&khpsbpkt_sig)) { 1033 if (down_interruptible(&khpsbpkt_sig)) {
1032 if (try_to_freeze())
1033 continue;
1034 printk("khpsbpkt: received unexpected signal?!\n" ); 1034 printk("khpsbpkt: received unexpected signal?!\n" );
1035 break; 1035 break;
1036 } 1036 }