Skip to content

Commit

Permalink
Merge branch 'MDEV-7658-5.5' into MDEV-7658-10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akopytov committed May 26, 2015
2 parents e5f1e84 + 70bc0a3 commit 7f7cee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage/innobase/include/os0sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion storage/xtradb/include/os0sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f7cee8

Please sign in to comment.