Page MenuHomeFreeBSD

LinuxKPI: Make lockdep*_pin_lock macroses useable for drm-kmod
ClosedPublic

Authored by wulf on Dec 6 2021, 10:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 15, 4:59 PM
Unknown Object (File)
Mon, Apr 14, 1:44 AM
Unknown Object (File)
Sun, Mar 30, 3:29 AM
Unknown Object (File)
Mar 14 2025, 1:33 AM
Unknown Object (File)
Mar 3 2025, 12:19 AM
Unknown Object (File)
Feb 22 2025, 10:45 PM
Unknown Object (File)
Feb 22 2025, 2:23 PM
Unknown Object (File)
Feb 22 2025, 1:44 PM

Details

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

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Dec 6 2021, 10:03 AM
sys/compat/linuxkpi/common/include/linux/lockdep.h
97–99

Put double underscore before variables declared inside macros.

pc -> __pc

Add double underscores to name of declared variable

wulf marked an inline comment as done.Dec 6 2021, 10:38 AM
This revision is now accepted and ready to land.Dec 6 2021, 10:54 AM

Small type in message:

macroses -> macros