mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
arm64: coresight: fix the build without FDT
coresight_cpu_debug only has an FDT attachment, so let's not build it for kernels without FDT. coresight.h includes sys/malloc.h via header pollution dev/ofw/openfirm.h; include it directly in case we're building without FDT. Reviewed by: andrew, manu Differential Revision: https://reviews.freebsd.org/D36789
This commit is contained in:
parent
4a4ad02da3
commit
b4c2a5b689
2 changed files with 2 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
|||
#include "opt_platform.h"
|
||||
|
||||
#include <sys/bus.h>
|
||||
#include <sys/malloc.h>
|
||||
|
||||
#ifdef FDT
|
||||
#include <dev/ofw/openfirm.h>
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ arm64/coresight/coresight_acpi.c optional acpi
|
|||
arm64/coresight/coresight_fdt.c optional fdt
|
||||
arm64/coresight/coresight_if.m standard
|
||||
arm64/coresight/coresight_cmd.c standard
|
||||
arm64/coresight/coresight_cpu_debug.c standard
|
||||
arm64/coresight/coresight_cpu_debug.c optional fdt
|
||||
arm64/coresight/coresight_etm4x.c standard
|
||||
arm64/coresight/coresight_etm4x_acpi.c optional acpi
|
||||
arm64/coresight/coresight_etm4x_fdt.c optional fdt
|
||||
|
|
|
|||
Loading…
Reference in a new issue