[PATCH] Platform SMIs and their interferance with tsc based delay calibration
[safe/jmp/linux-2.6] / arch / i386 / kernel / timers / common.c
index 8e20121..b38cc0d 100644 (file)
@@ -139,6 +139,15 @@ bad_calibration:
 }
 #endif
 
+
+unsigned long read_timer_tsc(void)
+{
+       unsigned long retval;
+       rdtscl(retval);
+       return retval;
+}
+
+
 /* calculate cpu_khz */
 void init_cpu_khz(void)
 {