Page MenuHomeFreeBSD

arm64: coresight: fix the build without FDT
ClosedPublic

Authored by kevans on Sep 29 2022, 6:12 AM.
Tags
None
Referenced Files
F132482832: D36789.diff
Fri, Oct 17, 7:23 AM
Unknown Object (File)
Thu, Oct 9, 11:07 PM
Unknown Object (File)
Thu, Oct 9, 11:07 PM
Unknown Object (File)
Thu, Oct 9, 11:07 PM
Unknown Object (File)
Thu, Oct 9, 7:31 PM
Unknown Object (File)
Thu, Oct 9, 4:26 AM
Unknown Object (File)
Tue, Oct 7, 6:28 AM
Unknown Object (File)
Fri, Oct 3, 11:35 PM
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