patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / macintosh / therm_adt746x.c
index 05bd57a..37f06c8 100644 (file)
@@ -246,8 +246,7 @@ static int monitor_task(void *arg)
 
        while(monitor_running)
        {
-               set_task_state(current, TASK_UNINTERRUPTIBLE);
-               schedule_timeout(2*HZ);
+               msleep(2000);
 
                /* Check status */
                /* local   : chip */