]> err.no Git - linux-2.6/blobdiff - drivers/macintosh/therm_pm72.c
macintosh: Always export pmu_[un]register_sleep_notifier if CONFIG_PM set
[linux-2.6] / drivers / macintosh / therm_pm72.c
index cc507ceef15388175917ef3852c504731dd66c24..3fc8cdd94c3daa9b4154b8d721b381bb0eb09797 100644 (file)
@@ -1678,10 +1678,9 @@ static int main_control_loop(void *x)
                }
 
                // FIXME: Deal with signals
-               set_current_state(TASK_INTERRUPTIBLE);
                elapsed = jiffies - start;
                if (elapsed < HZ)
-                       schedule_timeout(HZ - elapsed);
+                       schedule_timeout_interruptible(HZ - elapsed);
        }
 
  out: