Merge pull request #73 from akopytov/MDEV-7658-5.5

Fixes MDEV-7658: MDEV-7026 fix reintroduces MDEV-6615 on AArch64
This commit is contained in:
Sergey 2015-05-27 10:27:18 +04:00
commit 6bd76f8b7e
2 changed files with 2 additions and 2 deletions

View file

@ -324,7 +324,7 @@ amount of increment. */
/**********************************************************//**
Returns the old value of *ptr, atomically sets *ptr to new_val */
#ifdef __powerpc__
#if defined(__powerpc__) || defined(__aarch64__)
/*
os_atomic_test_and_set_byte_release() should imply a release barrier before
setting, and a full barrier after. But __sync_lock_test_and_set() is only

View file

@ -331,7 +331,7 @@ amount of increment. */
/**********************************************************//**
Returns the old value of *ptr, atomically sets *ptr to new_val */
#ifdef __powerpc__
#if defined(__powerpc__) || defined(__aarch64__)
/*
os_atomic_test_and_set_byte_release() should imply a release barrier before
setting, and a full barrier after. But __sync_lock_test_and_set() is only