From b6b4df778ae4d697e25b4daa8503ea6eeef1a222 Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Mon, 5 Nov 2018 09:13:03 +0000 Subject: [PATCH] add-mips64-support Gbp-Pq: Name 0002-add-mips64-support.patch --- include/tscore/ink_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tscore/ink_queue.h b/include/tscore/ink_queue.h index 7f75ad9d..6d242cd9 100644 --- a/include/tscore/ink_queue.h +++ b/include/tscore/ink_queue.h @@ -136,7 +136,7 @@ union head_p { #define SET_FREELIST_POINTER_VERSION(_x, _p, _v) \ (_x).s.pointer = _p; \ (_x).s.version = _v -#elif defined(__x86_64__) || defined(__ia64__) || defined(__powerpc64__) || defined(__aarch64__) +#elif defined(__x86_64__) || defined(__ia64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(__mips64) #define FREELIST_POINTER(_x) \ ((void *)(((((intptr_t)(_x).data) << 16) >> 16) | (((~((((intptr_t)(_x).data) << 16 >> 63) - 1)) >> 48) << 48))) // sign extend #define FREELIST_VERSION(_x) (((intptr_t)(_x).data) >> 48) -- 2.30.2