svn commit: r217131 - head/sys/dev/ixgbe

Jack F Vogel jfv at FreeBSD.org
Fri Jan 7 23:19:13 UTC 2011


Author: jfv
Date: Fri Jan  7 23:19:13 2011
New Revision: 217131
URL: http://svn.freebsd.org/changeset/base/217131

Log:
  kern/150247  - virtualization code also needs fix for 7.X to be buildable...
  
  MFC in 3 days

Modified:
  head/sys/dev/ixgbe/ixv.h

Modified: head/sys/dev/ixgbe/ixv.h
==============================================================================
--- head/sys/dev/ixgbe/ixv.h	Fri Jan  7 23:11:19 2011	(r217130)
+++ head/sys/dev/ixgbe/ixv.h	Fri Jan  7 23:19:13 2011	(r217131)
@@ -400,7 +400,7 @@ struct adapter {
 #define IXV_TX_LOCK_ASSERT(_sc)         mtx_assert(&(_sc)->tx_mtx, MA_OWNED)
 
 /* Workaround to make 8.0 buildable */
-#if __FreeBSD_version < 800504
+#if __FreeBSD_version >= 800000 && __FreeBSD_version < 800504
 static __inline int
 drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br)
 {


More information about the svn-src-all mailing list