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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to