HomeFreeBSD

x86: use order_base_2

Description

x86: use order_base_2

Use order_base_2 in place of expressions involving fls.

Reviewed by: alc, markj
Differential Revision: https://reviews.freebsd.org/D45536

Details

Provenance
dougmAuthored on Jun 24 2024, 7:26 AM
Reviewer
alc
Differential Revision
D45536: log2: move log2 related functions from kpi to libkern
Parents
rG0839258c5690: ipfw: Use roundup_pow_of_two
Branches
Unknown
Tags
Unknown