kern/150247 - virtualization code also needs fix for 7.X to be buildable...

MFC in 3 days
This commit is contained in:
Jack F Vogel 2011-01-07 23:19:13 +00:00
parent 4655a3925a
commit 66863764b8

View File

@ -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)
{