summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-09-11 07:13:28 +0000
committerbde <bde@FreeBSD.org>2002-09-11 07:13:28 +0000
commit58f594ebe3d58d1f0905309bd8494e4e9549d121 (patch)
tree3d1a964a016059ae47b585f1c4b6ea4f517929a5 /sys
parentb6c4bef8cf8b0501677c43c7e149cbaabeaa41f1 (diff)
downloadFreeBSD-src-58f594ebe3d58d1f0905309bd8494e4e9549d121.zip
FreeBSD-src-58f594ebe3d58d1f0905309bd8494e4e9549d121.tar.gz
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_bus.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index 7e7df14..79f4525 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");
OpenPOWER on IntegriCloud