mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Merge branch 'MDEV-7658-5.5' into MDEV-7658-10.0
This commit is contained in:
commit
7f7cee8700
2 changed files with 2 additions and 2 deletions
|
|
@ -452,7 +452,7 @@ Returns the old value of *ptr, atomically sets *ptr to new_val */
|
|||
# define os_atomic_test_and_set_ulint(ptr, new_val) \
|
||||
__sync_lock_test_and_set(ptr, 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
|
||||
|
|
|
|||
|
|
@ -452,7 +452,7 @@ Returns the old value of *ptr, atomically sets *ptr to new_val */
|
|||
# define os_atomic_test_and_set_ulint(ptr, new_val) \
|
||||
__sync_lock_test_and_set(ptr, 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue