diff options
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuMp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c index b65300c773..8290dd29f1 100644 --- a/UefiCpuPkg/CpuDxe/CpuMp.c +++ b/UefiCpuPkg/CpuDxe/CpuMp.c @@ -178,7 +178,7 @@ TestCpuStatusFlag ( Ret = CpuData->Info.StatusFlag & Flags;
ReleaseMpSpinLock (CpuData);
- return !!(Ret);
+ return (Ret != 0);
}
/**
@@ -664,7 +664,7 @@ StartupAllAPs ( mMpSystemData.ProcedureArgument = ProcedureArgument;
mMpSystemData.WaitEvent = WaitEvent;
mMpSystemData.Timeout = TimeoutInMicroseconds;
- mMpSystemData.TimeoutActive = !!(TimeoutInMicroseconds);
+ mMpSystemData.TimeoutActive = (TimeoutInMicroseconds != 0);
mMpSystemData.FinishCount = 0;
mMpSystemData.StartCount = 0;
mMpSystemData.SingleThread = SingleThread;
@@ -887,7 +887,7 @@ StartupThisAP ( CpuData->Timeout = TimeoutInMicroseconds;
CpuData->WaitEvent = WaitEvent;
- CpuData->TimeoutActive = !!(TimeoutInMicroseconds);
+ CpuData->TimeoutActive = (TimeoutInMicroseconds != 0);
CpuData->Finished = Finished;
mStopCheckAllAPsStatus = FALSE;
|