Fixed ms-based scheduling for legacy timer

This commit is contained in:
Tomas Hruby 2010-05-26 08:20:29 +00:00
parent a8111c5027
commit 24764ff47a

View File

@ -113,7 +113,6 @@ PRIVATE void estimate_cpu_freq(void)
/* set the PIC timer to get some time */
intr_enable();
init_8253A_timer(system_hz);
/* loop for some time to get a sample */
while(probe_ticks < PROBE_TICKS) {
@ -121,7 +120,6 @@ PRIVATE void estimate_cpu_freq(void)
}
intr_disable();
stop_8253A_timer();
/* remove the probe */
rm_irq_handler(&calib_cpu);