HomeFreeBSD

LinuxKPI: add HWEIGHT32()

Description

LinuxKPI: add HWEIGHT32()

Add HWEIGHT32() macro needed by iwlwifi and while here add the 8/16/64
variants likewise.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30501

(cherry picked from commit 4cc8a9da491d10f1b4bad6a50730b67dd5e899c7)

Details

Provenance
bzAuthored on May 27 2021, 1:09 PM
Reviewer
hselasky
Differential Revision
D30501: LinuxKPI: add HWEIGHT32()
Parents
rG1b9b5de489c2: LinuxKPI: netdevice.h remove more ifnet operating macros
Branches
Unknown
Tags
Unknown