diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-12-16 18:26:04 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-12-16 18:26:04 +0000 |
commit | da6c45e0516abdbd5b4c4bee966fe3f57c3d42a0 (patch) | |
tree | 5b026a38965850575238b312ae319a4efa5b5a33 | |
parent | e8d782d36d88f5bfd513e485080cea240a6df978 (diff) | |
download | FreeBSD-src-da6c45e0516abdbd5b4c4bee966fe3f57c3d42a0.zip FreeBSD-src-da6c45e0516abdbd5b4c4bee966fe3f57c3d42a0.tar.gz |
Don't globally include mvec.h its only needed by cxgb_sge.c
-rw-r--r-- | sys/dev/cxgb/cxgb_include.h | 7 | ||||
-rw-r--r-- | sys/dev/cxgb/cxgb_sge.c | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/dev/cxgb/cxgb_include.h b/sys/dev/cxgb/cxgb_include.h index bd29172..4514072 100644 --- a/sys/dev/cxgb/cxgb_include.h +++ b/sys/dev/cxgb/cxgb_include.h @@ -4,9 +4,6 @@ #include <sys/types.h> - -#include <vm/vm.h> -#include <vm/pmap.h> #include <machine/bus.h> #ifdef CONFIG_DEFINED #include <cxgb_osdep.h> @@ -18,8 +15,6 @@ #include <common/cxgb_ctl_defs.h> #include <common/cxgb_sge_defs.h> #include <common/cxgb_firmware_exports.h> -#include <sys/mvec.h> -#include <sys/mbufq.h> #include <common/jhash.h> #include <ulp/toecore/cxgb_toedev.h> #else @@ -33,8 +28,6 @@ #include <dev/cxgb/common/cxgb_sge_defs.h> #include <dev/cxgb/common/cxgb_firmware_exports.h> -#include <dev/cxgb/sys/mvec.h> -#include <dev/cxgb/sys/mbufq.h> #include <dev/cxgb/common/jhash.h> #include <dev/cxgb/ulp/toecore/cxgb_toedev.h> #endif diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c index e26e509..418bf4f 100644 --- a/sys/dev/cxgb/cxgb_sge.c +++ b/sys/dev/cxgb/cxgb_sge.c @@ -58,10 +58,14 @@ __FBSDID("$FreeBSD$"); #include <dev/pci/pcireg.h> #include <dev/pci/pcivar.h> +#include <vm/vm.h> +#include <vm/pmap.h> #ifdef CONFIG_DEFINED #include <cxgb_include.h> +#include <sys/mvec.h> #else #include <dev/cxgb/cxgb_include.h> +#include <dev/cxgb/sys/mvec.h> #endif uint32_t collapse_free = 0; |