diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-11-25 14:37:20 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-11-25 14:43:43 +0300 |
commit | 432388612336bd7b40d4c65ea06f676c0bbb78dc (patch) | |
tree | 1de91b88927260170b2f32250141d00f9857581b /intern/atomic/atomic_ops.h | |
parent | 1c86d32fa7d4c367370d06b7983410f4c33d58a2 (diff) |
Atomics: Cleanup, move defines closer to usage
There is a special defines block needed for ARM on Linux. Move it from
public header to an implementation file.
No functional changes.
This is a non-functional part of original fix done by Brecht in D9577.
Diffstat (limited to 'intern/atomic/atomic_ops.h')
-rw-r--r-- | intern/atomic/atomic_ops.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/intern/atomic/atomic_ops.h b/intern/atomic/atomic_ops.h index 5e89315ebdc..91c6ab9fec5 100644 --- a/intern/atomic/atomic_ops.h +++ b/intern/atomic/atomic_ops.h @@ -54,16 +54,6 @@ #ifndef __ATOMIC_OPS_H__ #define __ATOMIC_OPS_H__ -#if defined(__arm__) -/* Attempt to fix compilation error on Debian armel kernel. - * arm7 architecture does have both 32 and 64bit atomics, however - * its gcc doesn't have __GCC_HAVE_SYNC_COMPARE_AND_SWAP_n defined. - */ -# define JE_FORCE_SYNC_COMPARE_AND_SWAP_1 -# define JE_FORCE_SYNC_COMPARE_AND_SWAP_4 -# define JE_FORCE_SYNC_COMPARE_AND_SWAP_8 -#endif - #include "intern/atomic_ops_utils.h" /******************************************************************************/ |