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

(cherry picked from commit 68fcdba38b7ea65b1f2f395fbd25fb59880d7163)

Details

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