12 lines
512 B
Diff
12 lines
512 B
Diff
--- jemalloc-2.2.5/include/jemalloc/internal/atomic.h.orig 2012-04-21 00:24:23.000000000 -0400
|
|
+++ jemalloc-2.2.5/include/jemalloc/internal/atomic.h 2012-04-21 00:50:41.000000000 -0400
|
|
@@ -105,7 +105,7 @@
|
|
|
|
/******************************************************************************/
|
|
/* 32-bit operations. */
|
|
-#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
|
|
+#if ( defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) || defined(__ARM_ARCH_5T__) )
|
|
JEMALLOC_INLINE uint32_t
|
|
atomic_add_uint32(uint32_t *p, uint32_t x)
|
|
{
|