With r344062 in place, hwpmc_mod.c generally needs bus_if.h and

device_if.h.
This commit is contained in:
Marius Strobl 2019-02-12 23:39:18 +00:00
parent 794022b04a
commit 37e3a57cc1

View File

@ -6,7 +6,8 @@
KMOD= hwpmc
SRCS= hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c vnode_if.h
SRCS= bus_if.h device_if.h hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c
SRCS+= vnode_if.h
.if ${MACHINE_CPUARCH} == "aarch64"
SRCS+= hwpmc_arm64.c hwpmc_arm64_md.c
@ -15,7 +16,6 @@ SRCS+= hwpmc_arm64.c hwpmc_arm64_md.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_tsc.c
SRCS+= hwpmc_x86.c hwpmc_uncore.c
SRCS+= device_if.h bus_if.h
.endif
.if ${MACHINE_CPUARCH} == "arm"
@ -25,7 +25,6 @@ SRCS+= hwpmc_arm.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c
SRCS+= hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c
SRCS+= device_if.h bus_if.h
.endif
.if ${MACHINE_CPUARCH} == "powerpc"