From d944886e4df0e6d88970157ff46e8c0ab0c6b2c8 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 20 Oct 2000 07:58:15 +0000 Subject: [PATCH] Catch up to moving headers: - machine/ipl.h -> sys/ipl.h - machine/mutex.h -> sys/mutex.h --- sys/alpha/alpha/autoconf.c | 2 +- sys/alpha/alpha/db_interface.c | 2 +- sys/alpha/alpha/interrupt.c | 2 +- sys/alpha/alpha/ipl_funcs.c | 4 ++-- sys/alpha/alpha/mp_machdep.c | 4 ++-- sys/alpha/alpha/trap.c | 3 +-- sys/alpha/alpha/vm_machdep.c | 2 +- sys/alpha/include/smp.h | 4 ++-- sys/amd64/amd64/autoconf.c | 2 +- sys/amd64/amd64/fpu.c | 2 +- sys/amd64/amd64/mp_machdep.c | 2 +- sys/amd64/amd64/mptable.c | 2 +- sys/amd64/amd64/sys_machdep.c | 2 +- sys/amd64/amd64/trap.c | 4 ++-- sys/amd64/include/mptable.h | 2 +- sys/amd64/isa/npx.c | 2 +- sys/dev/an/if_an.c | 2 +- sys/dev/an/if_an_pccard.c | 2 +- sys/dev/an/if_an_pci.c | 2 +- sys/dev/dc/dcphy.c | 2 +- sys/dev/dc/pnphy.c | 2 +- sys/dev/fxp/if_fxp.c | 2 +- sys/dev/isp/isp_freebsd.h | 2 +- sys/dev/mii/dcphy.c | 2 +- sys/dev/mii/pnphy.c | 2 +- sys/dev/random/harvest.c | 2 +- sys/dev/random/yarrow.c | 2 +- sys/i386/i386/autoconf.c | 2 +- sys/i386/i386/mp_machdep.c | 2 +- sys/i386/i386/mptable.c | 2 +- sys/i386/i386/sys_machdep.c | 2 +- sys/i386/i386/trap.c | 4 ++-- sys/i386/include/mptable.h | 2 +- sys/i386/isa/npx.c | 2 +- sys/kern/imgact_elf.c | 2 +- sys/kern/init_main.c | 2 +- sys/kern/kern_clock.c | 4 ++-- sys/kern/kern_exec.c | 2 +- sys/kern/kern_exit.c | 3 +-- sys/kern/kern_fork.c | 3 +-- sys/kern/kern_idle.c | 2 +- sys/kern/kern_intr.c | 2 +- sys/kern/kern_shutdown.c | 2 +- sys/kern/kern_sig.c | 5 ++--- sys/kern/kern_subr.c | 3 +-- sys/kern/kern_switch.c | 3 +-- sys/kern/kern_threads.c | 3 +-- sys/kern/subr_prof.c | 2 +- sys/kern/subr_smp.c | 2 +- sys/kern/subr_trap.c | 4 ++-- sys/kern/uipc_mbuf.c | 2 +- sys/kern/vfs_aio.c | 2 +- sys/kern/vfs_bio.c | 3 +-- sys/kern/vfs_default.c | 2 +- sys/kern/vfs_export.c | 2 +- sys/kern/vfs_extattr.c | 2 +- sys/kern/vfs_subr.c | 2 +- sys/kern/vfs_syscalls.c | 2 +- sys/kern/vfs_vnops.c | 3 +-- sys/pci/if_fxp.c | 2 +- sys/powerpc/aim/vm_machdep.c | 2 +- sys/powerpc/powerpc/vm_machdep.c | 2 +- sys/sys/buf.h | 2 +- sys/sys/eventhandler.h | 2 +- sys/sys/lock.h | 2 +- sys/sys/lockmgr.h | 2 +- sys/sys/mbuf.h | 2 +- sys/sys/vnode.h | 4 +--- 68 files changed, 76 insertions(+), 87 deletions(-) diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c index af46cd6e106e..a875d54e1717 100644 --- a/sys/alpha/alpha/autoconf.c +++ b/sys/alpha/alpha/autoconf.c @@ -37,6 +37,7 @@ #include #include #include /* for BASE_SLICE, MAX_SLICES */ +#include #include #include #include @@ -45,7 +46,6 @@ #include #include -#include #include #include #include diff --git a/sys/alpha/alpha/db_interface.c b/sys/alpha/alpha/db_interface.c index 6b47e2931824..aaa80b161ffe 100644 --- a/sys/alpha/alpha/db_interface.c +++ b/sys/alpha/alpha/db_interface.c @@ -59,13 +59,13 @@ #include #include #include +#include #include #include #include #include -#include #include #include diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c index 194b35f2d5c4..42ea5855be4c 100644 --- a/sys/alpha/alpha/interrupt.c +++ b/sys/alpha/alpha/interrupt.c @@ -49,6 +49,7 @@ #include #include #include +#include #include #include @@ -56,7 +57,6 @@ #include #include #include -#include #include #ifdef EVCNT_COUNTERS diff --git a/sys/alpha/alpha/ipl_funcs.c b/sys/alpha/alpha/ipl_funcs.c index b83656e68578..e110c83ebd2c 100644 --- a/sys/alpha/alpha/ipl_funcs.c +++ b/sys/alpha/alpha/ipl_funcs.c @@ -31,13 +31,13 @@ #include #include #include +#include #include +#include #include -#include #include #include #include -#include #include #include "sio.h" diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c index 69170fcade3e..6514229ece3c 100644 --- a/sys/alpha/alpha/mp_machdep.c +++ b/sys/alpha/alpha/mp_machdep.c @@ -28,11 +28,12 @@ #include #include -#include +#include #include #include #include #include +#include #include #include @@ -45,7 +46,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c index 79019bd6fd89..f53fe7c96a94 100644 --- a/sys/alpha/alpha/trap.c +++ b/sys/alpha/alpha/trap.c @@ -35,13 +35,13 @@ #include #include -#include #include #include #include #include #include #include +#include #include #include #include @@ -60,7 +60,6 @@ #include #include #include -#include #ifdef KTRACE #include diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c index f706590ed384..c7662917172f 100644 --- a/sys/alpha/alpha/vm_machdep.c +++ b/sys/alpha/alpha/vm_machdep.c @@ -73,6 +73,7 @@ #include #include #include +#include #include #include #include @@ -84,7 +85,6 @@ #include #include #include -#include #include #include diff --git a/sys/alpha/include/smp.h b/sys/alpha/include/smp.h index 00aec6a955d4..2c208c8c1e63 100644 --- a/sys/alpha/include/smp.h +++ b/sys/alpha/include/smp.h @@ -15,9 +15,9 @@ #ifdef _KERNEL -#include -#include +#include #include +#include #ifndef LOCORE diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index 4edda4bdcab5..4ffcd25260b2 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -68,7 +69,6 @@ #include #include -#include #include #ifdef APIC_IO #include diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index e53c54cc8a87..2672a639a476 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -58,7 +59,6 @@ #endif #include #include -#include #include #include #include diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 5ef95b3607a7..4788ee47e24f 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -42,6 +42,7 @@ #include #include #include +#include #ifdef BETTER_CLOCK #include #endif @@ -65,7 +66,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index 5ef95b3607a7..4788ee47e24f 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -42,6 +42,7 @@ #include #include #include +#include #ifdef BETTER_CLOCK #include #endif @@ -65,7 +66,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c index 803ac250296e..d09d88204cf1 100644 --- a/sys/amd64/amd64/sys_machdep.c +++ b/sys/amd64/amd64/sys_machdep.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include @@ -52,7 +53,6 @@ #include #include -#include #include /* pcb.h included by sys/user.h */ #include #ifdef SMP diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index b9ebb600cb05..674f77a8a56d 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -53,8 +53,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -76,9 +78,7 @@ #include #include -#include #include -#include #include #ifdef SMP #include diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 5ef95b3607a7..4788ee47e24f 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -42,6 +42,7 @@ #include #include #include +#include #ifdef BETTER_CLOCK #include #endif @@ -65,7 +66,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index e53c54cc8a87..2672a639a476 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -58,7 +59,6 @@ #endif #include #include -#include #include #include #include diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index 68a22a2e2e6b..e557d1f41c5e 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -107,7 +107,7 @@ #include #include #include -#include +#include #include #include diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c index 551bad863d28..41b667267589 100644 --- a/sys/dev/an/if_an_pccard.c +++ b/sys/dev/an/if_an_pccard.c @@ -55,7 +55,7 @@ #include #include #include -#include +#include #include #include diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c index 22a0443ebdb2..bde0f3df9c5b 100644 --- a/sys/dev/an/if_an_pci.c +++ b/sys/dev/an/if_an_pci.c @@ -69,7 +69,7 @@ #include #include #include -#include +#include #include #include diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c index 285c2d3694c9..e991f0071c1a 100644 --- a/sys/dev/dc/dcphy.c +++ b/sys/dev/dc/dcphy.c @@ -47,6 +47,7 @@ #include #include #include +#include #include #include @@ -60,7 +61,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c index e87e0be25e95..786be7ce10ad 100644 --- a/sys/dev/dc/pnphy.c +++ b/sys/dev/dc/pnphy.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include @@ -58,7 +59,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 3b4afedacdc0..43c30b7070b6 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -56,7 +57,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index c8db280d45bd..39eed5df4f93 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -40,6 +40,7 @@ #include #include #include +#include #include #include @@ -47,7 +48,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/mii/dcphy.c b/sys/dev/mii/dcphy.c index 285c2d3694c9..e991f0071c1a 100644 --- a/sys/dev/mii/dcphy.c +++ b/sys/dev/mii/dcphy.c @@ -47,6 +47,7 @@ #include #include #include +#include #include #include @@ -60,7 +61,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/mii/pnphy.c b/sys/dev/mii/pnphy.c index e87e0be25e95..786be7ce10ad 100644 --- a/sys/dev/mii/pnphy.c +++ b/sys/dev/mii/pnphy.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include @@ -58,7 +59,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/random/harvest.c b/sys/dev/random/harvest.c index 2f9ac2baa0c7..76c23a985108 100644 --- a/sys/dev/random/harvest.c +++ b/sys/dev/random/harvest.c @@ -31,11 +31,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c index fe4d160f7e92..004779eb77da 100644 --- a/sys/dev/random/yarrow.c +++ b/sys/dev/random/yarrow.c @@ -37,13 +37,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include #include #include diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 4edda4bdcab5..4ffcd25260b2 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -68,7 +69,6 @@ #include #include -#include #include #ifdef APIC_IO #include diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index 5ef95b3607a7..4788ee47e24f 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -42,6 +42,7 @@ #include #include #include +#include #ifdef BETTER_CLOCK #include #endif @@ -65,7 +66,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c index 5ef95b3607a7..4788ee47e24f 100644 --- a/sys/i386/i386/mptable.c +++ b/sys/i386/i386/mptable.c @@ -42,6 +42,7 @@ #include #include #include +#include #ifdef BETTER_CLOCK #include #endif @@ -65,7 +66,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/i386/i386/sys_machdep.c b/sys/i386/i386/sys_machdep.c index 803ac250296e..d09d88204cf1 100644 --- a/sys/i386/i386/sys_machdep.c +++ b/sys/i386/i386/sys_machdep.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include @@ -52,7 +53,6 @@ #include #include -#include #include /* pcb.h included by sys/user.h */ #include #ifdef SMP diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index b9ebb600cb05..674f77a8a56d 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -53,8 +53,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -76,9 +78,7 @@ #include #include -#include #include -#include #include #ifdef SMP #include diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h index 5ef95b3607a7..4788ee47e24f 100644 --- a/sys/i386/include/mptable.h +++ b/sys/i386/include/mptable.h @@ -42,6 +42,7 @@ #include #include #include +#include #ifdef BETTER_CLOCK #include #endif @@ -65,7 +66,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index e53c54cc8a87..2672a639a476 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -58,7 +59,6 @@ #endif #include #include -#include #include #include #include diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 2123b11a24b3..1ab418168fe3 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -63,7 +64,6 @@ #include #include -#include #define OLD_EI_BRAND 8 diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 0d987758da74..344dac274068 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -66,7 +67,6 @@ #include #include -#include #include #include diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 6b3153fc5546..c01b68e838bb 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -45,7 +45,9 @@ #include #include #include +#include #include +#include #include #include #include @@ -58,9 +60,7 @@ #include #include -#include #include -#include #include #ifdef GPROF diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index ab9062b22498..4f74760801c9 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -59,7 +60,6 @@ #include #include -#include #include MALLOC_DEFINE(M_PARGS, "proc-args", "Process arguments"); diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index ba8264eaf451..489633a801f7 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -62,8 +63,6 @@ #include #include -#include - #include #include #include diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index c3699b20d272..70d883cca900 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -66,8 +67,6 @@ #include -#include - static MALLOC_DEFINE(M_ATFORK, "atfork", "atfork callback"); static int fast_vfork = 1; diff --git a/sys/kern/kern_idle.c b/sys/kern/kern_idle.c index e77fed99fd56..a24893d3204f 100644 --- a/sys/kern/kern_idle.c +++ b/sys/kern/kern_idle.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -29,7 +30,6 @@ #include #include -#include #include #include diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 649e4ccb4239..40d5f8486396 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -38,12 +38,12 @@ #include #include #include +#include #include #include #include #include #include -#include struct swilist { swihand_t *sl_handler; diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index ed2ce218434f..431f9660c1de 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -55,6 +55,7 @@ #include #include #include +#include #include #include #include @@ -64,7 +65,6 @@ #include #include #include -#include #include /* smp_active, cpuid */ #include diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index b93277bdcec2..00624d46071d 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -55,6 +55,8 @@ #include #include #include +#include +#include #include #include #include @@ -64,10 +66,7 @@ #include #include - -#include #include -#include #include #define ONSIG 32 /* NSIG for osig* syscalls. XXX. */ diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index d321f698f456..7c5c94afe65b 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -53,8 +54,6 @@ #include #include -#include - static void uio_yield __P((void)); int diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index 31c06f90be72..60024b085baf 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -30,12 +30,11 @@ #include #include #include +#include #include #include #include -#include - /* * We have NQS (32) run queues per scheduling class. For the normal * class, there are 128 priorities scaled onto these 32 queues. New diff --git a/sys/kern/kern_threads.c b/sys/kern/kern_threads.c index ba2b4bf634ec..e4f0f4e061d5 100644 --- a/sys/kern/kern_threads.c +++ b/sys/kern/kern_threads.c @@ -53,12 +53,11 @@ #include #include #include +#include #include #include #include -#include - /* * Low level support for sleep/wakeup paradigm * If a timeout is specified: diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index 294c649b733b..51a2b4e5c262 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -37,12 +37,12 @@ #include #include #include +#include #include #include #include #include -#include #include #ifdef GPROF diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 5ef95b3607a7..4788ee47e24f 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -42,6 +42,7 @@ #include #include #include +#include #ifdef BETTER_CLOCK #include #endif @@ -65,7 +66,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index b9ebb600cb05..674f77a8a56d 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -53,8 +53,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -76,9 +78,7 @@ #include #include -#include #include -#include #include #ifdef SMP #include diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index d0e8064f8158..2c52f780053d 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -46,7 +47,6 @@ #include #include #include -#include static void mbinit __P((void *)); SYSINIT(mbuf, SI_SUB_MBUF, SI_ORDER_FIRST, mbinit, NULL) diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index faf7c77493f6..91b2977a927d 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -49,7 +50,6 @@ #include #include -#include #include "opt_vfs_aio.h" diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index d9e77cc00c3d..df91cb53c394 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -53,8 +54,6 @@ #include #include -#include - static MALLOC_DEFINE(M_BIOBUF, "BIO buffer", "BIO buffer"); struct bio_ops bioops; /* I/O operation notification */ diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index 9bea91699d2d..fe4c53948d1f 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -48,12 +48,12 @@ #include #include #include +#include #include #include #include #include -#include #include #include diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 27dcfd3f5728..affb16658e78 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -59,6 +59,7 @@ #include #include #include +#include #include #include #include @@ -69,7 +70,6 @@ #include #include -#include #include #include diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index bedad1be51e4..83ca1ca9618b 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -65,7 +66,6 @@ #include #include -#include #include #include #include diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 27dcfd3f5728..affb16658e78 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -59,6 +59,7 @@ #include #include #include +#include #include #include #include @@ -69,7 +70,6 @@ #include #include -#include #include #include diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index bedad1be51e4..83ca1ca9618b 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -65,7 +66,6 @@ #include #include -#include #include #include #include diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 92874439c451..e0d7be27c10d 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -54,8 +55,6 @@ #include #include -#include - #include #include diff --git a/sys/pci/if_fxp.c b/sys/pci/if_fxp.c index 3b4afedacdc0..43c30b7070b6 100644 --- a/sys/pci/if_fxp.c +++ b/sys/pci/if_fxp.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -56,7 +57,6 @@ #include #include #include -#include #include #include diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index f706590ed384..c7662917172f 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/vm_machdep.c @@ -73,6 +73,7 @@ #include #include #include +#include #include #include #include @@ -84,7 +85,6 @@ #include #include #include -#include #include #include diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index f706590ed384..c7662917172f 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/vm_machdep.c @@ -73,6 +73,7 @@ #include #include #include +#include #include #include #include @@ -84,7 +85,6 @@ #include #include #include -#include #include #include diff --git a/sys/sys/buf.h b/sys/sys/buf.h index 94ae4c11db18..c8d47885a0af 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -233,7 +233,7 @@ extern struct mtx buftimelock; /* Interlock on setting prio and timo */ extern char *buf_wmesg; /* Default buffer lock message */ #define BUF_WMESG "bufwait" #include /* XXX for curproc */ -#include +#include /* * Initialize a lock. diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h index 3fc4060d2dd6..cf0a605ee130 100644 --- a/sys/sys/eventhandler.h +++ b/sys/sys/eventhandler.h @@ -27,7 +27,7 @@ */ #include -#include +#include #ifndef SYS_EVENTHANDLER_H #define SYS_EVENTHANDLER_H diff --git a/sys/sys/lock.h b/sys/sys/lock.h index d11b485f75b7..47afdb2341e6 100644 --- a/sys/sys/lock.h +++ b/sys/sys/lock.h @@ -41,8 +41,8 @@ #ifndef _LOCK_H_ #define _LOCK_H_ +#include #include -#include /* * The general lock structure. Provides for multiple shared locks, diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h index d11b485f75b7..47afdb2341e6 100644 --- a/sys/sys/lockmgr.h +++ b/sys/sys/lockmgr.h @@ -41,8 +41,8 @@ #ifndef _LOCK_H_ #define _LOCK_H_ +#include #include -#include /* * The general lock structure. Provides for multiple shared locks, diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index b8b4e07100a7..0edc0c459a8e 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -37,7 +37,7 @@ #ifndef _SYS_MBUF_H_ #define _SYS_MBUF_H_ -#include /* XXX */ +#include /* XXX */ /* * Mbufs are of a single size, MSIZE (machine/param.h), which diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 487767e8bd0a..582d00cb3b1d 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -38,14 +38,12 @@ #define _SYS_VNODE_H_ #include +#include #include #include #include #include -#include -#include - /* * The vnode is the focus of all file activity in UNIX. There is a * unique vnode allocated for each active file, each current directory,