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

Details

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