svn commit: r294573 - in head/contrib/jemalloc/include/jemalloc: . internal
Ruslan Bukin
br at FreeBSD.org
Fri Jan 22 16:37:27 UTC 2016
Author: br
Date: Fri Jan 22 16:37:26 2016
New Revision: 294573
URL: https://svnweb.freebsd.org/changeset/base/294573
Log:
Add configuration for RISC-V ISA.
Reviewed by: emaste
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Differential Revision: https://reviews.freebsd.org/D5020
Modified:
head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
Modified: head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
==============================================================================
--- head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h Fri Jan 22 16:35:01 2016 (r294572)
+++ head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h Fri Jan 22 16:37:26 2016 (r294573)
@@ -253,6 +253,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
Modified: head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
==============================================================================
--- head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Fri Jan 22 16:35:01 2016 (r294572)
+++ head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Fri Jan 22 16:37:26 2016 (r294573)
@@ -52,6 +52,9 @@
#elif defined(__powerpc__)
# define LG_SIZEOF_PTR 2
#endif
+#ifdef __riscv__
+# define LG_SIZEOF_PTR 3
+#endif
#ifndef JEMALLOC_TLS_MODEL
# define JEMALLOC_TLS_MODEL /* Default. */
More information about the svn-src-all
mailing list