From 2159615419a90b5473cfd9d3a4cb4700259d8c0b Mon Sep 17 00:00:00 2001 From: Wang JinLong Date: Mon, 18 Oct 2021 09:57:27 +0800 Subject: [PATCH] Add new architecture loongarch. Signed-off-by: Wang JinLong --- include/jemalloc/internal/quantum.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/jemalloc/internal/quantum.h b/include/jemalloc/internal/quantum.h index 760d6add..c22d753a 100644 --- a/include/jemalloc/internal/quantum.h +++ b/include/jemalloc/internal/quantum.h @@ -30,6 +30,9 @@ # ifdef __hppa__ # define LG_QUANTUM 4 # endif +# ifdef __loongarch__ +# define LG_QUANTUM 4 +# endif # ifdef __m68k__ # define LG_QUANTUM 3 # endif