diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-05-30 17:57:46 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-05-30 17:57:46 +0000 |
commit | 41ee9f1c6918a36d2feca1640bde21b420618948 (patch) | |
tree | e147561ada8e64b118b1cc13a83c003f0aed2e8d | |
parent | b3db79c7a129c923aa3471eb25abdeeb097a6b23 (diff) | |
download | src-41ee9f1c6918a36d2feca1640bde21b420618948.tar.gz src-41ee9f1c6918a36d2feca1640bde21b420618948.zip |
Add some missing <sys/module.h> includes which are masked by the
one on death-row in <sys/kernel.h>
Notes
Notes:
svn path=/head/; revision=129876
33 files changed, 35 insertions, 2 deletions
diff --git a/sys/amd64/amd64/bios.c b/sys/amd64/amd64/bios.c index 70a33aaede92..98c39ba44643 100644 --- a/sys/amd64/amd64/bios.c +++ b/sys/amd64/amd64/bios.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/kernel.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/bus.h> #include <sys/pcpu.h> #include <vm/vm.h> diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index 5ad2b53d176b..ec8b6dfd561d 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/kernel.h> #include <sys/sysctl.h> diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c index c23cd3cc287f..ca13a844892d 100644 --- a/sys/dev/mii/amphy.c +++ b/sys/dev/mii/amphy.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/bmtphy.c b/sys/dev/mii/bmtphy.c index f8cc19580877..c180b5ef5928 100644 --- a/sys/dev/mii/bmtphy.c +++ b/sys/dev/mii/bmtphy.c @@ -79,6 +79,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index f24e05ecb4ad..6680b53073e9 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/e1000phy.c b/sys/dev/mii/e1000phy.c index 7595b58fd977..2dc1448988a0 100644 --- a/sys/dev/mii/e1000phy.c +++ b/sys/dev/mii/e1000phy.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/inphy.c b/sys/dev/mii/inphy.c index 3aa6f16de9e4..b2a3d8168614 100644 --- a/sys/dev/mii/inphy.c +++ b/sys/dev/mii/inphy.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c index b7bb82a3f811..8c74a39bb4e7 100644 --- a/sys/dev/mii/nsgphy.c +++ b/sys/dev/mii/nsgphy.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c index 39c478ee040b..98609db14d26 100644 --- a/sys/dev/mii/rgephy.c +++ b/sys/dev/mii/rgephy.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index d6d4e1bdcf4c..2e93373d84bf 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/ruephy.c b/sys/dev/mii/ruephy.c index 494bd7449baf..282dcdd344b1 100644 --- a/sys/dev/mii/ruephy.c +++ b/sys/dev/mii/ruephy.c @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/kernel.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c index bba5f79ac622..1270c42c154a 100644 --- a/sys/dev/mii/xmphy.c +++ b/sys/dev/mii/xmphy.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index b942ce88b1f8..97c3661aecb4 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -81,6 +81,7 @@ __FBSDID("$FreeBSD$"); #include <sys/condvar.h> #include <sys/errno.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/lock.h> #include <sys/malloc.h> #include <sys/mutex.h> diff --git a/sys/dev/pci/fixup_pci.c b/sys/dev/pci/fixup_pci.c index c2a91d764863..56e6df59e68f 100644 --- a/sys/dev/pci/fixup_pci.c +++ b/sys/dev/pci/fixup_pci.c @@ -32,9 +32,10 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> -#include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> +#include <sys/malloc.h> +#include <sys/module.h> +#include <sys/systm.h> #include <sys/bus.h> #include <dev/pci/pcivar.h> diff --git a/sys/dev/pci/ignore_pci.c b/sys/dev/pci/ignore_pci.c index cca3482640f0..1ae9d34545c1 100644 --- a/sys/dev/pci/ignore_pci.c +++ b/sys/dev/pci/ignore_pci.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/bus.h> #include <dev/pci/pcivar.h> diff --git a/sys/dev/pci/isa_pci.c b/sys/dev/pci/isa_pci.c index e1013b537c22..335f1a5a9f23 100644 --- a/sys/dev/pci/isa_pci.c +++ b/sys/dev/pci/isa_pci.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <machine/bus.h> #include <machine/resource.h> #include <sys/bus.h> diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index b046ceb4ebad..40e1934029a6 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/bus.h> #include <machine/bus.h> #include <sys/rman.h> diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c index f6fb50ef28f1..e6727ee760cf 100644 --- a/sys/dev/random/randomdev.c +++ b/sys/dev/random/randomdev.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kthread.h> #include <sys/lock.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/mutex.h> #include <sys/poll.h> #include <sys/proc.h> diff --git a/sys/i386/i386/bios.c b/sys/i386/i386/bios.c index 70a33aaede92..98c39ba44643 100644 --- a/sys/i386/i386/bios.c +++ b/sys/i386/i386/bios.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/kernel.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/bus.h> #include <sys/pcpu.h> #include <vm/vm.h> diff --git a/sys/i386/i386/legacy.c b/sys/i386/i386/legacy.c index 149fe6026bf0..ed0764c673b4 100644 --- a/sys/i386/i386/legacy.c +++ b/sys/i386/i386/legacy.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/kernel.h> #include <sys/malloc.h> +#include <sys/module.h> #include <machine/bus.h> #include <sys/pcpu.h> #include <sys/rman.h> diff --git a/sys/i386/i386/mem.c b/sys/i386/i386/mem.c index cb516fa11961..f296d6860384 100644 --- a/sys/i386/i386/mem.c +++ b/sys/i386/i386/mem.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/lock.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/memrange.h> #include <sys/mutex.h> #include <sys/proc.h> diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index 17bd892a5872..50fd06ea7f3e 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -72,6 +72,7 @@ __FBSDID("$FreeBSD$"); #include <sys/vmmeter.h> #include <machine/cpu.h> +#include <machine/cputypes.h> #include <machine/md_var.h> #include <machine/pcb.h> #include <machine/pcb_ext.h> diff --git a/sys/i386/isa/atpic.c b/sys/i386/isa/atpic.c index a3f834fc903b..9a56f0800f2d 100644 --- a/sys/i386/isa/atpic.c +++ b/sys/i386/isa/atpic.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/interrupt.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/module.h> #include <sys/mutex.h> #include <machine/cpufunc.h> diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c index 36c0826039f4..8e9db506942c 100644 --- a/sys/i386/isa/clock.c +++ b/sys/i386/isa/clock.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <sys/timetc.h> #include <sys/kernel.h> #include <sys/limits.h> +#include <sys/module.h> #include <sys/sysctl.h> #include <sys/cons.h> #include <sys/power.h> diff --git a/sys/i386/isa/pmtimer.c b/sys/i386/isa/pmtimer.c index e9a18cc30686..1eeac6ddf46b 100644 --- a/sys/i386/isa/pmtimer.c +++ b/sys/i386/isa/pmtimer.c @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/bus.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/syslog.h> #include <machine/clock.h> diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index 2460159260f0..500ca8a12b0c 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/kernel.h> #include <sys/malloc.h> +#include <sys/module.h> #include <dev/pci/pcivar.h> #include <dev/pci/pcireg.h> diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index 4cf28cc03c7d..691561c1eb8e 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/kernel.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/sysctl.h> #include <vm/vm.h> #include <vm/pmap.h> diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index 36c0826039f4..8e9db506942c 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <sys/timetc.h> #include <sys/kernel.h> #include <sys/limits.h> +#include <sys/module.h> #include <sys/sysctl.h> #include <sys/cons.h> #include <sys/power.h> diff --git a/sys/kern/uipc_accf.c b/sys/kern/uipc_accf.c index a8d4f63f1c35..5226f1997068 100644 --- a/sys/kern/uipc_accf.c +++ b/sys/kern/uipc_accf.c @@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/mbuf.h> +#include <sys/module.h> #include <sys/protosw.h> #include <sys/sysctl.h> #include <sys/socket.h> diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 47ba291ef281..66941ac8c0d0 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -43,6 +43,7 @@ #include <sys/kernel.h> #include <sys/mac.h> #include <sys/malloc.h> +#include <sys/module.h> #include <sys/mbuf.h> #include <sys/random.h> #include <sys/socket.h> diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index 9558bd86c611..7bbeedcd8344 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <sys/mbuf.h> #include <sys/malloc.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/endian.h> diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 924347b3de8c..ddccd485f613 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -50,6 +50,7 @@ #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/proc.h> #include <sys/socket.h> #include <sys/socketvar.h> diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index 02dac7c0a113..332274b31295 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$"); #include <sys/mbuf.h> #include <sys/malloc.h> #include <sys/kernel.h> +#include <sys/module.h> #include <sys/socket.h> #include <sys/sysctl.h> |