Page MenuHomeFreeBSD

arm64: coresight: fix the build without FDT
ClosedPublic

Authored by kevans on Sep 29 2022, 6:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 4, 1:20 PM
Unknown Object (File)
Sat, Feb 28, 2:31 PM
Unknown Object (File)
Fri, Feb 27, 3:14 PM
Unknown Object (File)
Mon, Feb 23, 8:13 PM
Unknown Object (File)
Feb 8 2026, 6:46 AM
Unknown Object (File)
Feb 8 2026, 12:44 AM
Unknown Object (File)
Jan 30 2026, 9:30 PM
Unknown Object (File)
Jan 22 2026, 10:48 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