diff options
author | jfv <jfv@FreeBSD.org> | 2011-01-07 23:19:13 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2011-01-07 23:19:13 +0000 |
commit | cc26d4fc8dc1cf2112517d3d31fcb74250a19f4f (patch) | |
tree | c7220cbfac8158776be2c745fde71705af06f457 | |
parent | 9e1a6b2f78e54e22e50557bc0fda30d5d93f7929 (diff) | |
download | FreeBSD-src-cc26d4fc8dc1cf2112517d3d31fcb74250a19f4f.zip FreeBSD-src-cc26d4fc8dc1cf2112517d3d31fcb74250a19f4f.tar.gz |
kern/150247 - virtualization code also needs fix for 7.X to be buildable...
MFC in 3 days
-rw-r--r-- | sys/dev/ixgbe/ixv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixv.h b/sys/dev/ixgbe/ixv.h index 7ae913d..142f7cd 100644 --- a/sys/dev/ixgbe/ixv.h +++ b/sys/dev/ixgbe/ixv.h @@ -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) { |