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, Apr 24, 11:30 PM
Unknown Object (File)
Thu, Apr 23, 11:29 AM
Unknown Object (File)
Thu, Apr 23, 4:28 AM
Unknown Object (File)
Sun, Apr 19, 6:16 AM
Unknown Object (File)
Sat, Apr 18, 2:27 PM
Unknown Object (File)
Sat, Apr 18, 8:01 AM
Unknown Object (File)
Fri, Apr 17, 9:09 PM
Unknown Object (File)
Fri, Apr 17, 8:16 PM
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.