diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2021-10-20 19:46:14 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-21 18:24:26 +0000 |
commit | e198880732fd272715388afb8f6cc7edca502006 (patch) | |
tree | e5defd00d8e142ff2975a5cc499e847908cbc153 /src/include/boot_device.h | |
parent | c6f0ed789baaf102c128d1d45ddd531a2e6fcf4e (diff) |
cpu/x86/mp_init: use cb_err as run_ap_work return type
Using cb_err as return type clarifies the meaning of the different
return values. To not change the return types of mp_run_on_aps which is
exposed outside of this compilation unit to keep the scope of this patch
limited, the return value of run_ap_work gets translated to the int
values in mp_run_on_aps. This could also be done by a cast of the
run_ap_work return value to int, but an explicit translation of the
return values should be clearer about what it does there.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Id346c8edf06229a929b4783498d8c6774f54a8b1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58490
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/include/boot_device.h')
0 files changed, 0 insertions, 0 deletions