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)
Sat, May 16, 5:01 PM
Unknown Object (File)
Sat, May 16, 5:00 PM
Unknown Object (File)
Thu, May 14, 2:42 PM
Unknown Object (File)
Thu, May 14, 5:39 AM
Unknown Object (File)
Thu, May 14, 3:48 AM
Unknown Object (File)
Thu, May 14, 1:39 AM
Unknown Object (File)
Mon, May 11, 11:42 AM
Unknown Object (File)
Mon, May 11, 4:16 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