Don't globally include mvec.h its only needed by cxgb_sge.c

This commit is contained in:
Kip Macy 2007-12-16 18:26:04 +00:00
parent eed6cda966
commit 01cf8d43b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174670
2 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -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;