Page MenuHomeFreeBSD

tools/build: Provide fls* when cross-building on Linux
ClosedPublic

Authored by jrtc27 on Aug 11 2022, 12:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 11:21 PM
Unknown Object (File)
Fri, Nov 8, 11:21 PM
Unknown Object (File)
Fri, Nov 8, 11:20 PM
Unknown Object (File)
Wed, Nov 6, 12:39 AM
Unknown Object (File)
Oct 8 2024, 8:04 AM
Unknown Object (File)
Oct 8 2024, 8:04 AM
Unknown Object (File)
Oct 8 2024, 8:04 AM
Unknown Object (File)
Oct 8 2024, 7:40 AM
Subscribers

Details

Summary

flsll is needed for makefs's new ZFS support, and the others are added
for completeness.

Fixes: 240afd8c1fcc ("makefs: Add ZFS support")

Diff Detail

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

Event Timeline

jrtc27 created this revision.
emaste added a subscriber: markj.

No objection

This revision is now accepted and ready to land.Aug 11 2022, 12:05 AM
arichardson added a subscriber: arichardson.

LGTM. We could also go for inline functions that call the __builtin functions but this is simpler.