Page MenuHomeFreeBSD

arm64: coresight: fix the build without FDT
ClosedPublic

Authored by kevans on Sep 29 2022, 6:12 AM.
Tags
None
Referenced Files
F142738937: D36789.id111171.diff
Thu, Jan 22, 10:48 PM
F142738375: D36789.id111208.diff
Thu, Jan 22, 10:40 PM
Unknown Object (File)
Wed, Jan 14, 11:20 AM
Unknown Object (File)
Mon, Jan 12, 4:28 PM
Unknown Object (File)
Mon, Jan 12, 4:25 PM
Unknown Object (File)
Nov 29 2025, 6:36 PM
Unknown Object (File)
Nov 25 2025, 8:04 AM
Unknown Object (File)
Nov 24 2025, 2:38 AM
Subscribers

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