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

Jack F Vogel jfv at FreeBSD.org
Wed Jun 24 22:17:40 UTC 2009


Author: jfv
Date: Wed Jun 24 22:17:40 2009
New Revision: 194926
URL: http://svn.freebsd.org/changeset/base/194926

Log:
  Make CPU bind call architecture specific to satisfy LINT

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Wed Jun 24 22:16:02 2009	(r194925)
+++ head/sys/dev/ixgbe/ixgbe.c	Wed Jun 24 22:17:40 2009	(r194926)
@@ -2152,7 +2152,7 @@ ixgbe_allocate_msix(struct adapter *adap
 			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 *adap
 		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.


More information about the svn-src-head mailing list