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
MFC after: 12 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30501

Details

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