From 30b31f26b1adf2d0c8216b7f7a18263e08399e9a Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sat, 6 May 2017 13:22:06 +0000 Subject: [PATCH] mips-implement-mb-and-wmb Gbp-Pq: Name mips-implement-mb-and-wmb.patch --- common_mips.h | 4 ++-- common_mips64.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common_mips.h b/common_mips.h index ae12694..40e6d39 100644 --- a/common_mips.h +++ b/common_mips.h @@ -33,8 +33,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef COMMON_MIPS #define COMMON_MIPS -#define MB -#define WMB +#define MB __sync_synchronize() +#define WMB __sync_synchronize() #define INLINE inline diff --git a/common_mips64.h b/common_mips64.h index 6078bf3..21e706c 100644 --- a/common_mips64.h +++ b/common_mips64.h @@ -71,8 +71,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef COMMON_MIPS64 #define COMMON_MIPS64 -#define MB -#define WMB +#define MB __sync_synchronize() +#define WMB __sync_synchronize() #define INLINE inline -- 2.30.2