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)
Thu, May 7, 10:22 PM
Unknown Object (File)
Wed, May 6, 2:28 PM
Unknown Object (File)
Tue, May 5, 5:51 PM
Unknown Object (File)
Tue, May 5, 8:12 AM
Unknown Object (File)
Thu, Apr 30, 8:06 PM
Unknown Object (File)
Thu, Apr 30, 8:06 PM
Unknown Object (File)
Wed, Apr 29, 12:27 AM
Unknown Object (File)
Wed, Apr 29, 12:20 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

Lint
Lint Skipped
Unit
Tests Skipped