mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg MpInitLib: Update return status to follow spec.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
parent
e3ae7f5273
commit
5e72dacc83
|
@ -1584,7 +1584,7 @@ SwitchBSPWorker (
|
|||
//
|
||||
MpInitLibWhoAmI (&CallerNumber);
|
||||
if (CallerNumber != CpuMpData->BspNumber) {
|
||||
return EFI_SUCCESS;
|
||||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
|
||||
if (ProcessorNumber >= CpuMpData->CpuCount) {
|
||||
|
|
Loading…
Reference in New Issue