patch-2.4.20 linux-2.4.20/drivers/acpi/ospm/thermal/tzpolicy.c

Next file: linux-2.4.20/drivers/acpi/utilities/utdebug.c
Previous file: linux-2.4.20/drivers/acpi/ospm/system/sm_osl.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/acpi/ospm/thermal/tzpolicy.c linux-2.4.20/drivers/acpi/ospm/thermal/tzpolicy.c
@@ -413,7 +413,7 @@
 		if (timer_pending(&(policy->timer)))
 			mod_timer(&(policy->timer), (HZ*sleep_time)/1000);
 		else {
-			policy->timer.data = (u32)tz;
+			policy->timer.data = (unsigned long)tz;
 			policy->timer.function = tz_policy_run;
 			policy->timer.expires = jiffies + (HZ*sleep_time)/1000;
 			add_timer(&(policy->timer));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)