]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/MpInitLib/MpLib.c
UefiCpuPkg MpInitLib: Update return status to follow spec.
[mirror_edk2.git] / UefiCpuPkg / Library / MpInitLib / MpLib.c
index df19b43bc03a0ba73dc0effc5802a2279be5bf67..a3eea29d61483eff41dcd28a8c8d4dae15c1e59d 100644 (file)
@@ -1584,7 +1584,7 @@ SwitchBSPWorker (
   //\r
   MpInitLibWhoAmI (&CallerNumber);\r
   if (CallerNumber != CpuMpData->BspNumber) {\r
   //\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
   }\r
 \r
   if (ProcessorNumber >= CpuMpData->CpuCount) {\r