cpu/x86: Use MP_RUN_ON_ALL_CPUS macro instead of hardcoding
commit51d0be751c4f7758ce67c074896568d9f29c0834
authorSubrata Banik <subrata.banik@intel.com>
Thu, 2 Sep 2021 15:10:19 +0000 (2 20:40 +0530)
committerSubrata Banik <subrata.banik@intel.com>
Sat, 4 Sep 2021 05:41:24 +0000 (4 05:41 +0000)
treecd228a0220df0a0cbe727251fd50977a9f5d0268
parent09f767dc2757c538ab3fdf2fb76f91131313e062
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>
src/cpu/x86/mp_init.c