HomeFreeBSD

LinuxKPI: Make lockdep*_pin_lock macros useable for drm-kmod

Description

LinuxKPI: Make lockdep*_pin_lock macros useable for drm-kmod

Summary:

  • Add dummy struct pin_cookie definition;
  • Convert lockdep_pin_lock macro to function;
  • Fix 'unused variable' compile-time errors;

MFC after: 1 week
Reviewers: hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33295

Details

Provenance
wulfAuthored on Dec 3 2021, 1:38 PM
Differential Revision
D33295: LinuxKPI: Make lockdep*_pin_lock macroses useable for drm-kmod
Parents
rG7ec6cbf1d2fd: LinuxKPI: Convert schedule() to inlined function
Branches
Unknown
Tags
Unknown