HomeFreeBSD

linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9

Description

linuxkpi: Add pm_runtime_get_if_active() variant from Linux 6.9

With Linux 6.9, pm_runtime_get_if_active() lost its second bool
argument.

This change is put behind a check of LINUXKPI_VERSION to keep
compatibility.

Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50991

Details

Provenance
dumbbellAuthored on Jun 20 2025, 7:06 PM
Reviewer
bz
Differential Revision
D50991: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9
Parents
rGcf16d65c2e3a: linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`
Branches
Unknown
Tags
Unknown