Date: Fri, 22 Jan 2016 16:37:26 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294573 - in head/contrib/jemalloc/include/jemalloc: . internal Message-ID: <201601221637.u0MGbQEZ043730@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601221637.u0MGbQEZ043730>