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.
This commit is contained in:
parent
b6c4bef8cf
commit
58f594ebe3
@ -29,17 +29,20 @@
|
||||
#include "opt_bus.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/malloc.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/kernel.h>
|
||||
#include <sys/kobj.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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user