From: Eric Dong Date: Thu, 6 Jul 2017 01:25:37 +0000 (+0800) Subject: UefiCpuPkg MpInitLib: Update return status to follow spec. X-Git-Tag: edk2-stable201903~3842 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=5e72dacc83bb47d1fae99c4d1200bd12b96273f3;hp=e3ae7f52738667c7540486d91eff47efd0906fee;ds=inline UefiCpuPkg MpInitLib: Update return status to follow spec. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong Reviewed-by: Jeff Fan --- diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index df19b43bc0..a3eea29d61 100644 --- a/UefiCpuPkg/Library/MpInitLib/MpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.c @@ -1584,7 +1584,7 @@ SwitchBSPWorker ( // MpInitLibWhoAmI (&CallerNumber); if (CallerNumber != CpuMpData->BspNumber) { - return EFI_SUCCESS; + return EFI_DEVICE_ERROR; } if (ProcessorNumber >= CpuMpData->CpuCount) {