vserver 1.9.3
[linux-2.6.git] / drivers / macintosh / therm_windtunnel.c
index f4a1777..7dbc5cb 100644 (file)
@@ -292,8 +292,7 @@ control_loop( void *dummy )
        while( x.running ) {
                up( &x.lock );
 
-               set_current_state(TASK_INTERRUPTIBLE);
-               schedule_timeout( 8*HZ );
+               msleep_interruptible(8000);
                
                down( &x.lock );
                poll_temp();