Skip to content

Commit 7f7cee8

Browse files
committed
Merge branch 'MDEV-7658-5.5' into MDEV-7658-10.0
2 parents e5f1e84 + 70bc0a3 commit 7f7cee8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/innobase/include/os0sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ Returns the old value of *ptr, atomically sets *ptr to new_val */
452452
# define os_atomic_test_and_set_ulint(ptr, new_val) \
453453
__sync_lock_test_and_set(ptr, new_val)
454454

455-
#ifdef __powerpc__
455+
#if defined(__powerpc__) || defined(__aarch64__)
456456
/*
457457
os_atomic_test_and_set_byte_release() should imply a release barrier before
458458
setting, and a full barrier after. But __sync_lock_test_and_set() is only

storage/xtradb/include/os0sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ Returns the old value of *ptr, atomically sets *ptr to new_val */
452452
# define os_atomic_test_and_set_ulint(ptr, new_val) \
453453
__sync_lock_test_and_set(ptr, new_val)
454454

455-
#ifdef __powerpc__
455+
#if defined(__powerpc__) || defined(__aarch64__)
456456
/*
457457
os_atomic_test_and_set_byte_release() should imply a release barrier before
458458
setting, and a full barrier after. But __sync_lock_test_and_set() is only

0 commit comments

Comments
 (0)