HomeFreeBSD

Cleanup the bitmap_xxx() functions in the LinuxKPI:

Description

Cleanup the bitmap_xxx() functions in the LinuxKPI:

  • Move all bitmap related functions from bitops.h to bitmap.h, similar to what Linux does.
  • Apply some minor code cleanup and simplifications to optimize the generated code when using static inline functions.
  • Implement the following list of bitmap functions which are needed by drm-next and ibcore:
    • bitmap_find_next_zero_area_off()
    • bitmap_find_next_zero_area()
    • bitmap_or()
    • bitmap_and()
    • bitmap_xor()
  • Add missing include directives to the qlnxe driver (davidcs@ has been notified)

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS316567: Revert r316487. It is broken, causing boot to fail due to line 25 in
Branches
Unknown
Tags
Unknown