HomeFreeBSD

linuxkpi: Introduce module_param() of type `bint`

Description

linuxkpi: Introduce module_param() of type bint

In Linux, this limits the accepted value to -1, 0 and 1.
In FreeBSD, this remains a signed integer with no specific constraints.

This change is a requirement to update our DRM drivers to Linux 5.12.

Differential Revision: https://reviews.freebsd.org/D37364

(cherry picked from commit e101c1c2c9ba18b1dd0eb2000106fafc915babdc)

Details

Provenance
dumbbellAuthored on Dec 1 2022, 2:03 PM
manuCommitted on Jan 24 2023, 9:08 AM
Differential Revision
D37364: linuxkpi: Introduce module_param() of type `bint`
Parents
rGfe5b301ed2e8: linuxkpi: Add `PCIE_SPEED_{32,64}_0GT` PCI-E bus speed constants
Branches
Unknown
Tags
Unknown