Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2011 23:19:13 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217131 - head/sys/dev/ixgbe
Message-ID:  <201101072319.p07NJD9S069034@svn.freebsd.org>

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



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