Implement tsc based delay timers, and use them throughout code.
[seabios.git] / src / smpdetect.c
index db47943a8e7c43282fe8228fe8f8bebb940e1152..eda0ecfd87ea6be7866eef9188c48eedbd47d5a3 100644 (file)
@@ -97,7 +97,7 @@ smp_probe(void)
         u32 sipi_vector = BUILD_AP_BOOT_ADDR >> 12;
         writel(APIC_BASE + APIC_ICR_LOW, 0x000C4600 | sipi_vector);
 
-        usleep(10*1000);
+        mdelay(10);
 
         smp_cpus = readw((void *)BUILD_CPU_COUNT_ADDR);
     }