Atomically increment the number of awoken APs as all APs will

be unleashed here.

Pointed out by: christian.kandeler@hob.de
This commit is contained in:
Marcel Moolenaar 2008-10-19 20:14:48 +00:00
parent c13c975098
commit 1800080e68

View File

@ -125,7 +125,7 @@ ia64_ap_startup(void)
ia64_mca_save_state(SAL_INFO_MCA);
ia64_mca_save_state(SAL_INFO_CMC);
ap_awake++;
atomic_add_int(&ap_awake, 1);
while (!smp_started)
cpu_spinwait();