Signed-off-by: herengui <herengui@kylinsec.com.cn> (cherry picked from commit c1e0d2531366b473da77c1f4e26709aad89ea98a)
28 lines
792 B
Diff
28 lines
792 B
Diff
From 8a6a84e15f9802b9b16e8cf2a77476e5f5cb7f91 Mon Sep 17 00:00:00 2001
|
|
From: herengui <herengui@kylinsec.com.cn>
|
|
Date: Tue, 29 Aug 2023 10:17:26 +0800
|
|
Subject: [PATCH] add sw_64 support not upstream
|
|
|
|
Signed-off-by: herengui <herengui@kylinsec.com.cn>
|
|
---
|
|
jemalloc/include/jemalloc/internal/quantum.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/jemalloc/include/jemalloc/internal/quantum.h b/jemalloc/include/jemalloc/internal/quantum.h
|
|
index d6600af..b2e9633 100644
|
|
--- a/jemalloc/include/jemalloc/internal/quantum.h
|
|
+++ b/jemalloc/include/jemalloc/internal/quantum.h
|
|
@@ -58,6 +58,9 @@
|
|
defined(__SH4_SINGLE_ONLY__))
|
|
# define LG_QUANTUM 4
|
|
# endif
|
|
+# ifdef __sw_64__
|
|
+# define LG_QUANTUM 4
|
|
+# endif
|
|
# ifdef __tile__
|
|
# define LG_QUANTUM 4
|
|
# endif
|
|
--
|
|
2.41.0
|
|
|