diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-10-14 04:44:44 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-10-14 04:44:44 +0000 |
commit | 4af4921d4c387e488fed1ed4002f3f79910f8d18 (patch) | |
tree | c0644dcf68905bd505560fda6843fc12e09bc24e /sys/arch/amd64/pci | |
parent | 232dec86d28c22a80c1401000069386949208567 (diff) |
reduce the amount of includes in arch/amd64
ok mpi@ deraadt@
Diffstat (limited to 'sys/arch/amd64/pci')
-rw-r--r-- | sys/arch/amd64/pci/pchb.c | 3 | ||||
-rw-r--r-- | sys/arch/amd64/pci/pci_machdep.c | 7 | ||||
-rw-r--r-- | sys/arch/amd64/pci/pciide_machdep.c | 4 |
3 files changed, 3 insertions, 11 deletions
diff --git a/sys/arch/amd64/pci/pchb.c b/sys/arch/amd64/pci/pchb.c index 4549c6b085f..591523e4b45 100644 --- a/sys/arch/amd64/pci/pchb.c +++ b/sys/arch/amd64/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.41 2014/03/26 14:41:41 mpi Exp $ */ +/* $OpenBSD: pchb.c,v 1.42 2017/10/14 04:44:43 jsg Exp $ */ /* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -58,7 +58,6 @@ #include <sys/systm.h> #include <sys/device.h> #include <sys/timeout.h> -#include <sys/rwlock.h> #include <machine/bus.h> diff --git a/sys/arch/amd64/pci/pci_machdep.c b/sys/arch/amd64/pci/pci_machdep.c index 4acd9cb79a7..2ea97e1ab36 100644 --- a/sys/arch/amd64/pci/pci_machdep.c +++ b/sys/arch/amd64/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.66 2017/09/08 05:36:51 deraadt Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.67 2017/10/14 04:44:43 jsg Exp $ */ /* $NetBSD: pci_machdep.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */ /*- @@ -66,15 +66,10 @@ */ #include <sys/param.h> -#include <sys/time.h> #include <sys/systm.h> -#include <sys/errno.h> -#include <sys/device.h> #include <sys/extent.h> #include <sys/malloc.h> -#include <uvm/uvm_extern.h> - #include <machine/bus.h> #include <machine/pio.h> diff --git a/sys/arch/amd64/pci/pciide_machdep.c b/sys/arch/amd64/pci/pciide_machdep.c index 00be7386171..08ce9787ca2 100644 --- a/sys/arch/amd64/pci/pciide_machdep.c +++ b/sys/arch/amd64/pci/pciide_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide_machdep.c,v 1.3 2007/01/15 23:19:05 jsg Exp $ */ +/* $OpenBSD: pciide_machdep.c,v 1.4 2017/10/14 04:44:43 jsg Exp $ */ /* $NetBSD: pciide_machdep.c,v 1.2 1999/02/19 18:01:27 mycroft Exp $ */ /* @@ -42,13 +42,11 @@ */ #include <sys/param.h> -#include <sys/systm.h> #include <sys/device.h> #include <dev/pci/pcireg.h> #include <dev/pci/pcivar.h> #include <dev/pci/pciidereg.h> -#include <dev/pci/pciidevar.h> #include <dev/isa/isavar.h> |