Date: Tue, 18 Aug 2015 08:10:47 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r286871 - head/contrib/jemalloc/include/jemalloc Message-ID: <201508180810.t7I8AlZI003729@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jasone Date: Tue Aug 18 08:10:46 2015 New Revision: 286871 URL: https://svnweb.freebsd.org/changeset/base/286871 Log: Fix build failure due to missing CPU_SPINWAIT definition. Modified: head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Modified: head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h ============================================================================== --- head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Tue Aug 18 06:28:37 2015 (r286870) +++ head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Tue Aug 18 08:10:46 2015 (r286871) @@ -57,6 +57,10 @@ # define JEMALLOC_TLS_MODEL /* Default. */ #endif +#ifndef CPU_SPINWAIT +# define CPU_SPINWAIT do {} while (0) +#endif + #define STATIC_PAGE_SHIFT PAGE_SHIFT #define LG_SIZEOF_INT 2 #define LG_SIZEOF_LONG LG_SIZEOF_PTR
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508180810.t7I8AlZI003729>