Improve ARM patch
This commit is contained in:
parent
b96d668cc9
commit
dc286617e7
|
@ -1,11 +1,13 @@
|
|||
--- 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 @@
|
||||
--- jemalloc-2.2.5/include/jemalloc/internal/atomic.h.orig 2012-04-21 10:50:06.000000000 -0400
|
||||
+++ jemalloc-2.2.5/include/jemalloc/internal/atomic.h 2012-04-21 10:50:21.000000000 -0400
|
||||
@@ -105,7 +105,9 @@
|
||||
|
||||
/******************************************************************************/
|
||||
/* 32-bit operations. */
|
||||
-#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
|
||||
+#if ( defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) || defined(__ARM_ARCH_5T__) )
|
||||
+#if ( defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) \
|
||||
+ || defined(__ARM_ARCH_5T__) \
|
||||
+ || defined(__ARM_ARCH_5TE__) )
|
||||
JEMALLOC_INLINE uint32_t
|
||||
atomic_add_uint32(uint32_t *p, uint32_t x)
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Name: jemalloc
|
||||
Version: 2.2.5
|
||||
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: General-purpose scalable concurrent malloc implementation
|
||||
|
||||
Group: System Environment/Libraries
|
||||
|
@ -74,6 +74,9 @@ rm -rf %{buildroot}
|
|||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Sat Apr 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.2.5-5
|
||||
- Improve ARM patch
|
||||
|
||||
* Fri Apr 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.2.5-4
|
||||
- no attomics on armv5tel
|
||||
|
||||
|
|
Loading…
Reference in New Issue