Page MenuHomeFreeBSD

linuxkpi: Move `GENMASK()` to <linux/bits.h>
ClosedPublic

Authored by dumbbell on Wed, Apr 22, 6:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 6:48 AM
Unknown Object (File)
Sun, Apr 26, 8:23 PM
Unknown Object (File)
Sun, Apr 26, 8:02 AM
Unknown Object (File)
Sat, Apr 25, 6:06 AM
Unknown Object (File)
Sat, Apr 25, 5:43 AM
Unknown Object (File)
Sat, Apr 25, 5:37 AM
Unknown Object (File)
Fri, Apr 24, 5:56 AM
Subscribers

Details

Summary

... from <linux/bitops.h>.

This matches the location on Linux.

<linux/bits.h> is also included from <linux/bitops.h>. Therefore it will not break anything.

This is part of the update of DRM drivers to Linux 6.12.81.

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

bz requested changes to this revision.Wed, Apr 22, 7:15 PM
bz added a subscriber: bz.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/bits.h
5

Sorry, but both commit claim to come from someone else:

b5c541821abfc5d74d3f7279527da5029eec2725 Obtained from kmacy and
5d503e30ad2e7627505867180ae25fbaf4dc37c7 Submitted by Johannes Lundberg <johalun0@gmail.com>

(no idea why the first hash doesn't become a link to a ocmmit)

This revision now requires changes to proceed.Wed, Apr 22, 7:15 PM
This revision is now accepted and ready to land.Wed, Apr 22, 7:59 PM