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)
Mon, Sep 21, 10:24 PM
Unknown Object (File)
Sun, Sep 20, 11:12 PM
Unknown Object (File)
Sep 6 2026, 1:13 AM
Unknown Object (File)
Sep 5 2026, 6:52 PM
Unknown Object (File)
Sep 5 2026, 4:22 AM
Unknown Object (File)
Sep 5 2026, 3:13 AM
Unknown Object (File)
Sep 3 2026, 11:13 PM
Unknown Object (File)
Sep 3 2026, 9:10 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 Passed
Unit
No Test Coverage
Build Status
Buildable 47601
Build 44488: arc lint + arc unit