summaryrefslogtreecommitdiff
path: root/libdde_linux26/lib/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'libdde_linux26/lib/src/init')
-rw-r--r--libdde_linux26/lib/src/init/calibrate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdde_linux26/lib/src/init/calibrate.c b/libdde_linux26/lib/src/init/calibrate.c
index ceb6c5e8..36747582 100644
--- a/libdde_linux26/lib/src/init/calibrate.c
+++ b/libdde_linux26/lib/src/init/calibrate.c
@@ -43,6 +43,11 @@ static unsigned long __cpuinit calibrate_delay_direct(void)
unsigned long good_timer_count = 0;
int i;
+ /* TODO It's not a very good place to call this function
+ * as TSC is very platform-dependant but calibrate_delay_direct
+ * isn't that much. */
+ use_tsc_delay ();
+
if (read_current_timer(&pre_start) < 0 )
return 0;