Page MenuHomeFreeBSD

opensolaris macros: drop INLINE_FLS checks
ClosedPublic

Authored by dougm on Jun 21 2023, 7:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 6, 8:41 AM
Unknown Object (File)
Sun, Sep 6, 8:06 AM
Unknown Object (File)
Sat, Sep 5, 6:51 PM
Unknown Object (File)
Sat, Sep 5, 6:50 PM
Unknown Object (File)
Sat, Sep 5, 2:37 PM
Unknown Object (File)
Sat, Sep 5, 2:22 PM
Unknown Object (File)
Sat, Sep 5, 9:38 AM
Unknown Object (File)
Thu, Sep 3, 7:30 PM
Subscribers

Details

Summary

After D40698 is committed, HAS_INLINE_FLS and similar macros will be defined always. This change just removes the tests for these always-true conditions.

Diff Detail

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

Event Timeline

dougm requested review of this revision.Jun 21 2023, 7:04 PM
dougm created this revision.

I am not sure where/if this file is used anymore. It originated as part of the Solaris/illumos ZFS implementation, which has been superseded by OpenZFS.

I tried quickly adding an #error directive to the header, but compiling a GENERIC amd64 kernel still succeeded.

In any case, making this change should be fine.

This revision is now accepted and ready to land.Jun 22 2023, 7:52 PM
This revision was automatically updated to reflect the committed changes.