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
F170168474: D36134.id109140.diff
Thu, Sep 3, 5:30 PM
F170027686: D36134.id.diff
Thu, Sep 3, 7:17 AM
Unknown Object (File)
Tue, Sep 1, 1:18 PM
Unknown Object (File)
Tue, Sep 1, 7:33 AM
Unknown Object (File)
Fri, Aug 28, 10:49 AM
Unknown Object (File)
Wed, Aug 26, 1:54 PM
Unknown Object (File)
Tue, Aug 25, 4:12 PM
Unknown Object (File)
Sun, Aug 23, 9:38 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.