Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 22:17:40 +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: r194926 - head/sys/dev/ixgbe
Message-ID:  <200906242217.n5OMHeja031869@svn.freebsd.org>

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



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