]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/bluetooth/rfcomm/core.c
Freezer: make kernel threads nonfreezable by default
[net-next-2.6.git] / net / bluetooth / rfcomm / core.c
index 52e04df323eaa61eebb326659bf84c2db0cc52a8..bb7220770f2c671c879cca9aecdb3404021323a4 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/sched.h>
 #include <linux/signal.h>
 #include <linux/init.h>
+#include <linux/freezer.h>
 #include <linux/wait.h>
 #include <linux/device.h>
 #include <linux/net.h>
@@ -1940,7 +1941,6 @@ static int rfcomm_run(void *unused)
 
        daemonize("krfcommd");
        set_user_nice(current, -10);
-       current->flags |= PF_NOFREEZE;
 
        BT_DBG("");