UefiCpuPkg/PiSmmCpuDxeSmm: Lock should be acquired

SMM BSP's *busy* state should be acquired. We could use AcquireSpinLock()
instead of AcquireSpinLockOrFail().

Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
This commit is contained in:
Jeff Fan 2017-04-18 10:14:08 +08:00
parent 33cc487c26
commit 170a3c1e0f
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ BSPHandler (
// //
// The BUSY lock is initialized to Acquired state // The BUSY lock is initialized to Acquired state
// //
AcquireSpinLockOrFail (mSmmMpSyncData->CpuData[CpuIndex].Busy); AcquireSpinLock (mSmmMpSyncData->CpuData[CpuIndex].Busy);
// //
// Perform the pre tasks // Perform the pre tasks