diff options
author | jfv <jfv@FreeBSD.org> | 2009-06-24 22:17:40 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2009-06-24 22:17:40 +0000 |
commit | 8156347e5f83b46d58ed864f5d32396725e09ba9 (patch) | |
tree | b8c914c3cda638d0f651ea8b4c39c3c0d5918f05 /sys/dev/ixgbe | |
parent | 7facd747d2f5547472aa1f1496fee5fd54918774 (diff) | |
download | FreeBSD-src-8156347e5f83b46d58ed864f5d32396725e09ba9.zip FreeBSD-src-8156347e5f83b46d58ed864f5d32396725e09ba9.tar.gz |
Make CPU bind call architecture specific to satisfy LINT
Diffstat (limited to 'sys/dev/ixgbe')
-rw-r--r-- | sys/dev/ixgbe/ixgbe.c | 4 |
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. |