Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2017 22:09:55 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r313901 - head/sys/sys
Message-ID:  <201702172209.v1HM9tl9037372@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702172209.v1HM9tl9037372>