diff options
author | Faidon Liambotis <paravoid@debian.org> | 2017-08-07 18:56:21 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-08-11 23:35:44 (GMT) |
commit | 82d1a3fb318fb086cd4207ca03dbdd5b0e3bbb26 (patch) | |
tree | 84cc167cedd18662bd744ed4c06a495196287613 /include/jemalloc | |
parent | 8da69b69e6c4cd951832138780ac632e57987b7c (diff) | |
download | jemalloc-82d1a3fb318fb086cd4207ca03dbdd5b0e3bbb26.zip jemalloc-82d1a3fb318fb086cd4207ca03dbdd5b0e3bbb26.tar.gz jemalloc-82d1a3fb318fb086cd4207ca03dbdd5b0e3bbb26.tar.bz2 |
Add support for m68k, nios2, SH3 architectures
Add minimum alignment for three more architectures, as requested by
Debian users or porters (see Debian bugs #807554, #816236, #863424).
Diffstat (limited to 'include/jemalloc')
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_types.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_types.h b/include/jemalloc/internal/jemalloc_internal_types.h index 50f9d00..6b987d6 100644 --- a/include/jemalloc/internal/jemalloc_internal_types.h +++ b/include/jemalloc/internal/jemalloc_internal_types.h @@ -79,9 +79,15 @@ typedef int malloc_cpuid_t; # ifdef __hppa__ # define LG_QUANTUM 4 # endif +# ifdef __m68k__ +# define LG_QUANTUM 3 +# endif # ifdef __mips__ # define LG_QUANTUM 3 # endif +# ifdef __nios2__ +# define LG_QUANTUM 3 +# endif # ifdef __or1k__ # define LG_QUANTUM 3 # endif @@ -94,7 +100,8 @@ typedef int malloc_cpuid_t; # ifdef __s390__ # define LG_QUANTUM 4 # endif -# ifdef __SH4__ +# if (defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || \ + defined(__SH4_SINGLE_ONLY__)) # define LG_QUANTUM 4 # endif # ifdef __tile__ |