summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-12-17 23:39:28 +0000
committerkmacy <kmacy@FreeBSD.org>2007-12-17 23:39:28 +0000
commit9fc024313f4b80750c79fdb9942cdec5e800f65c (patch)
tree9690efc9946021a371890bd6e5eea0d2cdfc0d4d
parent689ad394ea97e0ed441a03367cead5d7f0232947 (diff)
downloadFreeBSD-src-9fc024313f4b80750c79fdb9942cdec5e800f65c.zip
FreeBSD-src-9fc024313f4b80750c79fdb9942cdec5e800f65c.tar.gz
only include intr_machdep.h when it is needed for intr_bind
ia64 doesn't have an intr_machdep.h
-rw-r--r--sys/dev/cxgb/cxgb_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c
index 92e5f2f..810d843 100644
--- a/sys/dev/cxgb/cxgb_main.c
+++ b/sys/dev/cxgb/cxgb_main.c
@@ -84,7 +84,9 @@ __FBSDID("$FreeBSD$");
#include <sys/priv.h>
#endif
+#ifdef IFNET_MULTIQUEUE
#include <machine/intr_machdep.h>
+#endif
static int cxgb_setup_msix(adapter_t *, int);
static void cxgb_teardown_msix(adapter_t *);
OpenPOWER on IntegriCloud