diff options
author | Eric Dong <eric.dong@intel.com> | 2017-07-06 09:25:37 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2017-07-07 08:54:11 +0800 |
commit | 5e72dacc83bb47d1fae99c4d1200bd12b96273f3 (patch) | |
tree | 65ac801a1dbb5daf10f9f8f4af9333b831b93ff5 /UefiCpuPkg | |
parent | e3ae7f52738667c7540486d91eff47efd0906fee (diff) | |
download | edk2-5e72dacc83bb47d1fae99c4d1200bd12b96273f3.zip edk2-5e72dacc83bb47d1fae99c4d1200bd12b96273f3.tar.gz edk2-5e72dacc83bb47d1fae99c4d1200bd12b96273f3.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index df19b43..a3eea29 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) {
|