]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/i386/kernel/timers/common.c
[PATCH] Platform SMIs and their interferance with tsc based delay calibration
[karo-tx-linux.git] / arch / i386 / kernel / timers / common.c
index 8e201219f5253f53a84d1254b922ab7a7ff1a519..b38cc0d0c71a44a19a395a90ad613a23e67606b5 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)
 {