summaryrefslogtreecommitdiffstats
path: root/sys/pci
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/pci
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/pci')
-rw-r--r--sys/pci/ohci_pci.c1
-rw-r--r--sys/pci/uhci_pci.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/pci/ohci_pci.c b/sys/pci/ohci_pci.c
index e1076f8..9806063 100644
--- a/sys/pci/ohci_pci.c
+++ b/sys/pci/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/pci/uhci_pci.c b/sys/pci/uhci_pci.c
index 154badf..003a415 100644
--- a/sys/pci/uhci_pci.c
+++ b/sys/pci/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>
OpenPOWER on IntegriCloud