Author: mjg
Date: Fri Feb 17 22:09:55 2017
New Revision: 313901
URL: https://svnweb.freebsd.org/changeset/base/313901

Log:
  sx: fix mips builld after r313855
  
  The namespace in this file really needs cleaning up. In the meantime
  let inline primitives be defined as long as LOCK_DEBUG is not enabled.
  
  Reported by:  kib

Modified:
  head/sys/sys/sx.h

Modified: head/sys/sys/sx.h
==============================================================================
--- head/sys/sys/sx.h   Fri Feb 17 21:30:16 2017        (r313900)
+++ head/sys/sys/sx.h   Fri Feb 17 22:09:55 2017        (r313901)
@@ -145,7 +145,7 @@ struct sx_args {
  * deferred to 'tougher' functions.
  */
 
-#if    (LOCK_DEBUG == 0) && !defined(SX_NOINLINE)
+#if    (LOCK_DEBUG == 0)
 /* Acquire an exclusive lock. */
 static __inline int
 __sx_xlock(struct sx *sx, struct thread *td, int opts, const char *file,
_______________________________________________
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