]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/bluetooth/bnep/core.c
Freezer: make kernel threads nonfreezable by default
[net-next-2.6.git] / net / bluetooth / bnep / core.c
index 1c8f4a0c5f4356dc9421bcc90dadc5efbc91c44c..1f78c3e336d8cb460cfeb70ec5f7f053e20bddf7 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/signal.h>
 #include <linux/init.h>
 #include <linux/wait.h>
+#include <linux/freezer.h>
 #include <linux/errno.h>
 #include <linux/net.h>
 #include <net/sock.h>
@@ -474,7 +475,6 @@ static int bnep_session(void *arg)
 
        daemonize("kbnepd %s", dev->name);
        set_user_nice(current, -15);
-       current->flags |= PF_NOFREEZE;
 
        init_waitqueue_entry(&wait, current);
        add_wait_queue(sk->sk_sleep, &wait);