X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseSynchronizationLib%2FX64%2FInterlockedCompareExchange64.c;h=a8f9fbb594476116bfdc635656cc803f88524523;hp=56805b3d2d312e7e0643068964052a483de0ff0f;hb=4cee954ea8063ab2a911e418d8a9e7a179df212b;hpb=7375f3f11a70e3c7295ef7005f6723ced176ad0a diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.c b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.c index 56805b3d2d..a8f9fbb594 100644 --- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.c +++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.c @@ -1,7 +1,7 @@ /** @file InterlockedCompareExchange64 function - Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -43,7 +43,7 @@ __int64 _InterlockedCompareExchange64( UINT64 EFIAPI InternalSyncCompareExchange64 ( - IN UINT64 *Value, + IN volatile UINT64 *Value, IN UINT64 CompareValue, IN UINT64 ExchangeValue )