summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-29 14:54:55 +0000
committerphk <phk@FreeBSD.org>2000-10-29 14:54:55 +0000
commitf82e4ca62c2bea6ce2d8c4f72263cb29a85f00b3 (patch)
treeb1d0738da6383c4d7f36d17389b606eada8d11c4 /sys/dev
parent38695be04c0d41b71e4ab0cb48afa0d2320cffbc (diff)
downloadFreeBSD-src-f82e4ca62c2bea6ce2d8c4f72263cb29a85f00b3.zip
FreeBSD-src-f82e4ca62c2bea6ce2d8c4f72263cb29a85f00b3.tar.gz
Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing
the offending inline function (BUF_KERNPROC) on it being #included already. I'm not sure BUF_KERNPROC() is even the right thing to do or in the right place or implemented the right way (inline vs normal function). Remove consequently unneeded #includes of <sys/proc.h>
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ohci_pci.c1
-rw-r--r--sys/dev/usb/uhci.c1
-rw-r--r--sys/dev/usb/uhci_pci.c1
-rw-r--r--sys/dev/usb/usbdi.c1
-rw-r--r--sys/dev/wds/wd7000.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c
index e1076f8..9806063 100644
--- a/sys/dev/usb/ohci_pci.c
+++ b/sys/dev/usb/ohci_pci.c
@@ -56,7 +56,6 @@
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/bus.h>
-#include <sys/proc.h>
#include <sys/queue.h>
#include <machine/bus.h>
#include <sys/rman.h>
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index d9aeabf..99c85c4 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -63,7 +63,6 @@
#include <machine/cpu.h>
#endif
#endif
-#include <sys/proc.h>
#include <sys/queue.h>
#include <machine/bus.h>
diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c
index 154badf..003a415 100644
--- a/sys/dev/usb/uhci_pci.c
+++ b/sys/dev/usb/uhci_pci.c
@@ -54,7 +54,6 @@
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/bus.h>
-#include <sys/proc.h>
#include <sys/queue.h>
#if defined(__FreeBSD__)
#include <sys/bus.h>
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index f4ac846..7dc8a0e 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -51,7 +51,6 @@
#endif
#endif
#include <sys/malloc.h>
-#include <sys/proc.h>
#include <machine/bus.h>
diff --git a/sys/dev/wds/wd7000.c b/sys/dev/wds/wd7000.c
index c09532a..537642e 100644
--- a/sys/dev/wds/wd7000.c
+++ b/sys/dev/wds/wd7000.c
@@ -133,7 +133,6 @@
#include <sys/bio.h>
#include <sys/buf.h>
-#include <sys/proc.h>
#include <sys/disklabel.h>
#include <cam/cam.h>
OpenPOWER on IntegriCloud