HomeFreeBSD

linuxkpi: Add cond_resched_lock

Description

linuxkpi: Add cond_resched_lock

If we need to resched it takes the lock, resched, release the lock
and returns 1, otherwise simply returns 0.

Needed by drm v5.9

MFC after: 1 month
Reviewed by: hselasky
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D34620

Details

Provenance
manuAuthored on Mar 21 2022, 10:14 AM
Reviewer
hselasky
Differential Revision
D34620: linuxkpi: Add cond_resched_lock
Parents
rG31e076d70b5f: Add devices and quirks for some Olympus cameras.
Branches
Unknown
Tags
Unknown