Page MenuHomeFreeBSD

arm64: coresight: fix the build without FDT
ClosedPublic

Authored by kevans on Sep 29 2022, 6:12 AM.

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable