summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ixgbe/ixgbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c
index 45a55a4..a39f418 100644
--- a/sys/dev/ixgbe/ixgbe.c
+++ b/sys/dev/ixgbe/ixgbe.c
@@ -2152,7 +2152,7 @@ ixgbe_allocate_msix(struct adapter *adapter)
return (error);
}
txr->msix = vector;
-#if __FreeBSD_version >= 800000
+#if defined(__i386__) || defined(__amd64__)
/*
** Bind the msix vector, and thus the
** ring to the corresponding cpu.
@@ -2189,7 +2189,7 @@ ixgbe_allocate_msix(struct adapter *adapter)
rxr->msix = vector;
/* used in local timer */
adapter->rx_mask |= (u64)(1 << vector);
-#if __FreeBSD_version >= 800000
+#if defined(__i386__) || defined(__amd64__)
/*
** Bind the msix vector, and thus the
** ring to the corresponding cpu.
OpenPOWER on IntegriCloud