]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/w1/w1.c
Freezer: make kernel threads nonfreezable by default
[linux-2.6-omap-h63xx.git] / drivers / w1 / w1.c
index f5c5b760ed7b7d9554b7fc3a7f31ee9fc5b27a4c..c6332108f1c5ba429105f31a54ceeacb05567ad7 100644 (file)
@@ -805,6 +805,7 @@ static int w1_control(void *data)
        struct w1_master *dev, *n;
        int have_to_wait = 0;
 
+       set_freezable();
        while (!kthread_should_stop() || have_to_wait) {
                have_to_wait = 0;