X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Facpi%2Fthermal.c;h=589b98b7b216e5096b9cb74fee45d6ae4035a0c9;hb=c0affe9db42bf85f4a606b3262c35ec59a5d3788;hp=0ae8b9310cbf98d2320dc40800f08b12bb0f7f48;hpb=2370965c5065b24b28b5ba09b60ddfbfb6d7649b;p=powerpc.git diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 0ae8b9310c..589b98b7b2 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c @@ -758,7 +758,8 @@ static void acpi_thermal_check(void *data) del_timer(&(tz->timer)); } else { if (timer_pending(&(tz->timer))) - mod_timer(&(tz->timer), (HZ * sleep_time) / 1000); + mod_timer(&(tz->timer), + jiffies + (HZ * sleep_time) / 1000); else { tz->timer.data = (unsigned long)tz; tz->timer.function = acpi_thermal_run;