diff options
author | Chen Fan <chen.fan.fnst@cn.fujitsu.com> | 2014-07-31 15:45:04 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-31 15:45:04 +0000 |
commit | e143c9e30c170cb49d287ab86a4478d926b99bf7 (patch) | |
tree | 83e117db37c14a98c5d38031310f9c37cbd508ab /EmulatorPkg | |
parent | f4a8ab280e061e80f43c37f272eb6e52ccb6ff96 (diff) | |
download | edk2-e143c9e30c170cb49d287ab86a4478d926b99bf7.tar.gz edk2-e143c9e30c170cb49d287ab86a4478d926b99bf7.tar.bz2 edk2-e143c9e30c170cb49d287ab86a4478d926b99bf7.zip |
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
Diffstat (limited to 'EmulatorPkg')
-rw-r--r-- | EmulatorPkg/CpuRuntimeDxe/MpService.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EmulatorPkg/CpuRuntimeDxe/MpService.c b/EmulatorPkg/CpuRuntimeDxe/MpService.c index 9d67b86ddf..238ecc6113 100644 --- a/EmulatorPkg/CpuRuntimeDxe/MpService.c +++ b/EmulatorPkg/CpuRuntimeDxe/MpService.c @@ -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);
}
|