summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2017-07-06 09:25:37 +0800
committerEric Dong <eric.dong@intel.com>2017-07-07 08:54:11 +0800
commit5e72dacc83bb47d1fae99c4d1200bd12b96273f3 (patch)
tree65ac801a1dbb5daf10f9f8f4af9333b831b93ff5 /UefiCpuPkg
parente3ae7f52738667c7540486d91eff47efd0906fee (diff)
downloadedk2-5e72dacc83bb47d1fae99c4d1200bd12b96273f3.tar.gz
edk2-5e72dacc83bb47d1fae99c4d1200bd12b96273f3.tar.bz2
edk2-5e72dacc83bb47d1fae99c4d1200bd12b96273f3.zip
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>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r--UefiCpuPkg/Library/MpInitLib/MpLib.c2
1 files changed, 1 insertions, 1 deletions
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) {