|
@@ -665,7 +665,8 @@ wakeup_secondary_cpu_via_init(int phys_apicid, unsigned long start_eip)
|
|
/*
|
|
/*
|
|
* Give the other CPU some time to accept the IPI.
|
|
* Give the other CPU some time to accept the IPI.
|
|
*/
|
|
*/
|
|
- udelay(300);
|
|
|
|
|
|
+ if (init_udelay)
|
|
|
|
+ udelay(300);
|
|
|
|
|
|
pr_debug("Startup point 1\n");
|
|
pr_debug("Startup point 1\n");
|
|
|
|
|
|
@@ -675,7 +676,8 @@ wakeup_secondary_cpu_via_init(int phys_apicid, unsigned long start_eip)
|
|
/*
|
|
/*
|
|
* Give the other CPU some time to accept the IPI.
|
|
* Give the other CPU some time to accept the IPI.
|
|
*/
|
|
*/
|
|
- udelay(200);
|
|
|
|
|
|
+ if (init_udelay)
|
|
|
|
+ udelay(200);
|
|
|
|
|
|
if (maxlvt > 3) /* Due to the Pentium erratum 3AP. */
|
|
if (maxlvt > 3) /* Due to the Pentium erratum 3AP. */
|
|
apic_write(APIC_ESR, 0);
|
|
apic_write(APIC_ESR, 0);
|