diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/base/basictypes.h | 2 | ||||
-rw-r--r-- | src/malloc_hook_mmap_linux.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/base/basictypes.h b/src/base/basictypes.h index 5512906..ea87a6d 100644 --- a/src/base/basictypes.h +++ b/src/base/basictypes.h @@ -385,6 +385,8 @@ class AssignAttributeStartEnd { # define CACHELINE_ALIGNED __attribute__((aligned(256))) # elif (defined(__riscv) && __riscv_xlen == 64) # define CACHELINE_ALIGNED __attribute__((aligned(64))) +# elif (defined(__e2k__)) +# define CACHELINE_ALIGNED __attribute__((aligned(64))) # else # error Could not determine cache line length - unknown architecture # endif diff --git a/src/malloc_hook_mmap_linux.h b/src/malloc_hook_mmap_linux.h index fb93b8a..927c533 100644 --- a/src/malloc_hook_mmap_linux.h +++ b/src/malloc_hook_mmap_linux.h @@ -56,7 +56,8 @@ || defined(__PPC64__) \ || defined(__aarch64__) \ || (defined(_MIPS_SIM) && (_MIPS_SIM == _ABI64 || _MIPS_SIM == _ABIN32)) \ - || defined(__s390__) || (defined(__riscv) && __riscv_xlen == 64) + || defined(__s390__) || (defined(__riscv) && __riscv_xlen == 64) \ + || defined(__e2k__) static inline void* do_mmap64(void *start, size_t length, int prot, int flags, |