Remove unneeded includes of opt_kdtrace.h.

As of r258541, KDTRACE_HOOKS is defined in opt_global.h, so opt_kdtrace.h
is not needed when defining SDT(9) probes.
This commit is contained in:
markj 2015-11-22 02:01:01 +00:00
parent f29d44cb6a
commit 3e47d7787e
6 changed files with 3 additions and 6 deletions

View File

@ -28,7 +28,6 @@
__FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include "opt_kdtrace.h"
#include <sys/param.h>
#include <sys/kernel.h>

View File

@ -48,7 +48,6 @@
#include "assym.s"
#include "opt_kdtrace.h"
#include <machine/acle-compat.h>
#include <machine/asm.h>
#include <machine/armreg.h>

View File

@ -3,6 +3,6 @@
.PATH: ${.CURDIR}/../../opencrypto
KMOD = cryptodev
SRCS = cryptodev.c
SRCS += bus_if.h device_if.h opt_compat.h opt_kdtrace.h
SRCS += bus_if.h device_if.h opt_compat.h
.include <bsd.kmod.mk>

View File

@ -10,7 +10,7 @@ SRCS= linux_fork.c linux_dummy.c linux_file.c linux_event.c \
linux_machdep.c linux_misc.c linux_signal.c \
linux_socket.c linux_stats.c linux_sysctl.c linux_sysent.c \
linux_sysvec.c linux_time.c linux_vdso.c linux_timer.c \
opt_inet6.h opt_compat.h opt_kdtrace.h opt_posix.h opt_usb.h \
opt_inet6.h opt_compat.h opt_posix.h opt_usb.h \
vnode_if.h device_if.h bus_if.h assym.s \
linux_support.s
DPSRCS= linux_genassym.c

View File

@ -42,7 +42,6 @@
__FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include "opt_kdtrace.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -76,7 +76,7 @@
__FBSDID("$FreeBSD$");
#include "opt_vm.h"
#include "opt_kdtrace.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>