From: Debian Science Team Date: Sat, 6 May 2017 13:22:06 +0000 (+0000) Subject: mips-implement-mb-and-wmb X-Git-Tag: archive/raspbian/0.2.19-3+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=30b31f26b1adf2d0c8216b7f7a18263e08399e9a;p=openblas.git mips-implement-mb-and-wmb Gbp-Pq: Name mips-implement-mb-and-wmb.patch --- 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