HomeFreeBSD

linuxkpi: Add __mutex_init

Description

linuxkpi: Add __mutex_init

Same as mutex_init, the lock_class_key argument seems to be only used for
debug in Linux, simply ignore it for now.
Needed by DRM in Linux v5.3

Sponsored-by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24848

Details

Provenance
manuAuthored on
Differential Revision
D24848: linuxkpi: Add __mutex_init
Parents
rS361138: linuxkpi: Add atomic_dec_and_mutex_lock
Branches
Unknown
Tags
Unknown