patch-2.3.48 linux/arch/ia64/kernel/process.c
Next file: linux/arch/ia64/kernel/time.c
Previous file: linux/arch/ia64/kernel/ivt.S
Back to the patch index
Back to the overall index
-  Lines: 15
 -  Date:
Thu Feb 24 10:14:29 2000
 -  Orig file: 
v2.3.47/linux/arch/ia64/kernel/process.c
 -  Orig date: 
Thu Feb 10 17:11:03 2000
 
diff -u --recursive --new-file v2.3.47/linux/arch/ia64/kernel/process.c linux/arch/ia64/kernel/process.c
@@ -97,6 +97,14 @@
 		check_pgt_cache();
 		if (pm_idle)
 			(*pm_idle)();
+#ifdef CONFIG_ITANIUM_ASTEP_SPECIFIC
+		if (ia64_get_itm() < ia64_get_itc()) {
+			extern void ia64_reset_itm();
+
+			printk("cpu_idle: ITM in past, resetting it...\n");
+			ia64_reset_itm();
+		}
+#endif
 	}
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)