From: Nishanth Aravamudan Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton --- drivers/macintosh/therm_pm72.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/macintosh/therm_pm72.c~drivers-macintosh-fix-up-schedule_timeout-usage drivers/macintosh/therm_pm72.c --- devel/drivers/macintosh/therm_pm72.c~drivers-macintosh-fix-up-schedule_timeout-usage 2005-09-11 02:06:29.000000000 -0700 +++ devel-akpm/drivers/macintosh/therm_pm72.c 2005-09-11 02:06:29.000000000 -0700 @@ -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: _