diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-09-11 07:13:28 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-09-11 07:13:28 +0000 |
commit | 527eee2d404ad5415be0b17e0403d29f3ea924c3 (patch) | |
tree | 3d1a964a016059ae47b585f1c4b6ea4f517929a5 /sys/kern/subr_bus.c | |
parent | 8579e9cfbd163e6bc3857377b3d958213239eeac (diff) | |
download | src-527eee2d404ad5415be0b17e0403d29f3ea924c3.tar.gz src-527eee2d404ad5415be0b17e0403d29f3ea924c3.zip |
Include <vm/uma.h> instead of depending on namespace pollution in
<sys/malloc.h>.
Sorted includes as much as possible. Removed banal comment(s) attached to
includes.
Notes
Notes:
svn path=/head/; revision=103215
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r-- | sys/kern/subr_bus.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 7e7df14360c1..79f45255f667 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -29,17 +29,20 @@ #include "opt_bus.h" #include <sys/param.h> -#include <sys/queue.h> -#include <sys/malloc.h> +#include <sys/bus_private.h> #include <sys/kernel.h> -#include <sys/module.h> #include <sys/kobj.h> -#include <sys/bus_private.h> -#include <sys/sysctl.h> -#include <sys/systm.h> +#include <sys/malloc.h> +#include <sys/module.h> +#include <sys/queue.h> #include <machine/bus.h> #include <sys/rman.h> -#include <machine/stdarg.h> /* for device_printf() */ +#include <sys/sysctl.h> +#include <sys/systm.h> + +#include <machine/stdarg.h> + +#include <vm/uma.h> static MALLOC_DEFINE(M_BUS, "bus", "Bus data structures"); |