diff options
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/ieee1394_core.c | 3 | ||||
-rw-r--r-- | drivers/ieee1394/nodemgr.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c index 0fc8c6e559e4..ee45259573c8 100644 --- a/drivers/ieee1394/ieee1394_core.c +++ b/drivers/ieee1394/ieee1394_core.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <linux/moduleparam.h> | 30 | #include <linux/moduleparam.h> |
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | #include <linux/kdev_t.h> | 32 | #include <linux/kdev_t.h> |
33 | #include <linux/freezer.h> | ||
33 | #include <linux/suspend.h> | 34 | #include <linux/suspend.h> |
34 | #include <linux/kthread.h> | 35 | #include <linux/kthread.h> |
35 | #include <linux/preempt.h> | 36 | #include <linux/preempt.h> |
@@ -1128,8 +1129,6 @@ static int hpsbpkt_thread(void *__hi) | |||
1128 | struct list_head tmp; | 1129 | struct list_head tmp; |
1129 | int may_schedule; | 1130 | int may_schedule; |
1130 | 1131 | ||
1131 | current->flags |= PF_NOFREEZE; | ||
1132 | |||
1133 | while (!kthread_should_stop()) { | 1132 | while (!kthread_should_stop()) { |
1134 | 1133 | ||
1135 | INIT_LIST_HEAD(&tmp); | 1134 | INIT_LIST_HEAD(&tmp); |
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index 51a12062ed36..2ffd53461db6 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c | |||
@@ -1699,6 +1699,7 @@ static int nodemgr_host_thread(void *__hi) | |||
1699 | unsigned int g, generation = 0; | 1699 | unsigned int g, generation = 0; |
1700 | int i, reset_cycles = 0; | 1700 | int i, reset_cycles = 0; |
1701 | 1701 | ||
1702 | set_freezable(); | ||
1702 | /* Setup our device-model entries */ | 1703 | /* Setup our device-model entries */ |
1703 | nodemgr_create_host_dev_files(host); | 1704 | nodemgr_create_host_dev_files(host); |
1704 | 1705 | ||