cpu/x86: Use MP_RUN_ON_ALL_CPUS macro instead of hardcoding
This patch ensures mp_run_on_all_aps() is passing 'MP_RUN_ON_ALL_CPUS' macro rather hardcoding `0` while running `func` on all APs. Change-Id: Icd34371c0d4349e1eefe945958eda957c4794707 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57342 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
09f767dc27
commit
51d0be751c
|
@ -997,7 +997,7 @@ int mp_run_on_all_aps(void (*func)(void *), void *arg, long expire_us, bool run_
|
||||||
int ap_index, bsp_index;
|
int ap_index, bsp_index;
|
||||||
|
|
||||||
if (run_parallel)
|
if (run_parallel)
|
||||||
return mp_run_on_aps(func, arg, 0, expire_us);
|
return mp_run_on_aps(func, arg, MP_RUN_ON_ALL_CPUS, expire_us);
|
||||||
|
|
||||||
bsp_index = cpu_index();
|
bsp_index = cpu_index();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue