]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BaseSynchronizationLib/AArch64/Synchronization.S
MdePkg/BaseSynchronizationLib: fix AArch64 return values
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Tue, 27 Oct 2015 11:56:57 +0000 (11:56 +0000)
committerleiflindholm <leiflindholm@Edk2>
Tue, 27 Oct 2015 11:56:57 +0000 (11:56 +0000)
commit7fe513896e16b560c5f1551e3f4bfffcb197b53b
tree2f55b334d181be1f067dd4e8d0997664986f7b5e
parent8a4582838b42e92d6d6429a7289b04e50ad084de
MdePkg/BaseSynchronizationLib: fix AArch64 return values

Fix the wrong return value of both InternalSyncIncrement()
and InternalSyncDecrement(). The return value shouldn't
be the address of input parameter. It should be the updated
value of input parameter instead.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18685 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseSynchronizationLib/AArch64/Synchronization.S