Page MenuHomeFreeBSD

linuxkpi: Define `raw_spinlock_t` in <linux/spinlock.h>
ClosedPublic

Authored by dumbbell on Jan 4 2026, 10:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 8, 8:27 PM
Unknown Object (File)
Sat, Aug 8, 5:00 PM
Unknown Object (File)
Thu, Aug 6, 1:09 PM
Unknown Object (File)
Tue, Aug 4, 10:36 PM
Unknown Object (File)
Sun, Aug 2, 1:10 AM
Unknown Object (File)
Sat, Jul 25, 2:19 PM
Unknown Object (File)
Jul 18 2026, 12:31 AM
Unknown Object (File)
Jul 15 2026, 7:00 AM
Subscribers

Details

Summary

For now, it is synonymous to spinlock_t. The DRM generic code uses the struct raw_spinlock and not raw_spinlock_t, that's why the definition is a struct embedding a struct mtx, compared to spinlock_t which is a simpler typedef.

The DRM generic code started to use it in Linux 6.10.

This is part of the update of DRM drivers to Linux 6.10.

Sponsored by: The FreeBSD Foundation

Diff Detail

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