From 35e0e5b31144763b2053a8a033be4407987e7e69 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 20 Oct 2000 07:58:15 +0000 Subject: 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 af46cd6e106ee..a875d54e17173 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 6b47e29318247..aaa80b161ffef 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 194b35f2d5c4d..42ea5855be4cd 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 b83656e685787..e110c83ebd2ca 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 69170fcade3ee..6514229ece3cd 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 79019bd6fd898..f53fe7c96a94f 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 f706590ed3849..c7662917172f7 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 00aec6a955d41..2c208c8c1e638 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 4edda4bdcab51..4ffcd25260b25 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 e53c54cc8a876..2672a639a4763 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 5ef95b3607a79..4788ee47e24f5 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 5ef95b3607a79..4788ee47e24f5 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 803ac250296e1..d09d88204cf1c 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 b9ebb600cb05a..674f77a8a56db 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 5ef95b3607a79..4788ee47e24f5 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 e53c54cc8a876..2672a639a4763 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 68a22a2e2e6b4..e557d1f41c5e1 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 551bad863d28d..41b667267589d 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 22a0443ebdb2e..bde0f3df9c5bf 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 285c2d3694c95..e991f0071c1ad 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 e87e0be25e950..786be7ce10ada 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 3b4afedacdc09..43c30b7070b66 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 c8db280d45bd1..39eed5df4f936 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 285c2d3694c95..e991f0071c1ad 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 e87e0be25e950..786be7ce10ada 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 2f9ac2baa0c71..76c23a985108c 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 fe4d160f7e929..004779eb77dac 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 4edda4bdcab51..4ffcd25260b25 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 5ef95b3607a79..4788ee47e24f5 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 5ef95b3607a79..4788ee47e24f5 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 803ac250296e1..d09d88204cf1c 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 b9ebb600cb05a..674f77a8a56db 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 5ef95b3607a79..4788ee47e24f5 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 e53c54cc8a876..2672a639a4763 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 2123b11a24b3e..1ab418168fe3e 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 0d987758da741..344dac2740682 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 6b3153fc55463..c01b68e838bb6 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 ab9062b224987..4f74760801c9f 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 ba8264eaf4519..489633a801f74 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 c3699b20d2722..70d883cca900e 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 e77fed99fd56d..a24893d3204f2 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 649e4ccb4239a..40d5f84863960 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 ed2ce218434f1..431f9660c1dec 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 b93277bdcec22..00624d46071da 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 d321f698f456d..7c5c94afe65b3 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 31c06f90be72f..60024b085baf1 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 ba2b4bf634ecb..e4f0f4e061d57 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 294c649b733b6..51a2b4e5c262e 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 5ef95b3607a79..4788ee47e24f5 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 b9ebb600cb05a..674f77a8a56db 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 d0e8064f8158c..2c52f780053d9 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 faf7c77493f64..91b2977a927db 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 d9e77cc00c3d8..df91cb53c394a 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 9bea91699d2d7..fe4c53948d1f5 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 27dcfd3f57283..affb16658e787 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 bedad1be51e41..83ca1ca9618b5 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 27dcfd3f57283..affb16658e787 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 bedad1be51e41..83ca1ca9618b5 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 92874439c4515..e0d7be27c10dd 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 3b4afedacdc09..43c30b7070b66 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 f706590ed3849..c7662917172f7 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 f706590ed3849..c7662917172f7 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 94ae4c11db189..c8d47885a0afc 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 3fc4060d2dd67..cf0a605ee1309 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 d11b485f75b76..47afdb2341e63 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 d11b485f75b76..47afdb2341e63 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 b8b4e07100a79..0edc0c459a8e3 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 487767e8bd0ae..582d00cb3b1dd 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, -- cgit v1.2.3