summaryrefslogtreecommitdiffstats
path: root/contrib/jemalloc
diff options
context:
space:
mode:
authorbr <br@FreeBSD.org>2016-03-01 17:43:06 +0000
committerbr <br@FreeBSD.org>2016-03-01 17:43:06 +0000
commitad8802bdfd6ffa6c24a142eb71483277e77f059d (patch)
tree517cf8b680b4950c9f903b449c3aa95a17cfe342 /contrib/jemalloc
parentba6f296a4e33b1c49995e8a73f9f741638bb8847 (diff)
downloadFreeBSD-src-ad8802bdfd6ffa6c24a142eb71483277e77f059d.zip
FreeBSD-src-ad8802bdfd6ffa6c24a142eb71483277e77f059d.tar.gz
Restore configuration for RISC-V.
Diffstat (limited to 'contrib/jemalloc')
-rw-r--r--contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h b/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
index 7f77d12..7a60806 100644
--- a/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
+++ b/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
@@ -254,6 +254,9 @@ typedef unsigned szind_t;
# ifdef __powerpc__
# define LG_QUANTUM 4
# endif
+# ifdef __riscv__
+# define LG_QUANTUM 4
+# endif
# ifdef __s390__
# define LG_QUANTUM 4
# endif
OpenPOWER on IntegriCloud