EmulatorPkg/Mpservice: CpuCheckAllAPsStatus: ProcedureLock => StateLock

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15727 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Chen Fan 2014-07-31 15:45:04 +00:00 committed by jljusten
parent f4a8ab280e
commit e143c9e30c
1 changed files with 2 additions and 2 deletions

View File

@ -1015,9 +1015,9 @@ CpuCheckAllAPsStatus (
if (!EFI_ERROR (Status)) {
NextData = &gMPSystem.ProcessorData[NextNumber];
gThread->MutexLock (&NextData->ProcedureLock);
gThread->MutexLock (&NextData->StateLock);
NextData->State = CPU_STATE_READY;
gThread->MutexUnlock (&NextData->ProcedureLock);
gThread->MutexUnlock (&NextData->StateLock);
SetApProcedure (NextData, gMPSystem.Procedure, gMPSystem.ProcedureArgument);
}