projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UefiCpuPkg MpInitLib: Update return status to follow spec.
[mirror_edk2.git]
/
UefiCpuPkg
/
Library
/
MpInitLib
/
MpLib.c
diff --git
a/UefiCpuPkg/Library/MpInitLib/MpLib.c
b/UefiCpuPkg/Library/MpInitLib/MpLib.c
index df19b43bc03a0ba73dc0effc5802a2279be5bf67..a3eea29d61483eff41dcd28a8c8d4dae15c1e59d 100644
(file)
--- a/
UefiCpuPkg/Library/MpInitLib/MpLib.c
+++ b/
UefiCpuPkg/Library/MpInitLib/MpLib.c
@@
-1584,7
+1584,7
@@
SwitchBSPWorker (
//
\r
MpInitLibWhoAmI (&CallerNumber);
\r
if (CallerNumber != CpuMpData->BspNumber) {
\r
- return EFI_
SUCCESS
;
\r
+ return EFI_
DEVICE_ERROR
;
\r
}
\r
\r
if (ProcessorNumber >= CpuMpData->CpuCount) {
\r