HomeFreeBSD

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

Description

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

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.

Reviewed by: bz, christos
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54489

Details

Provenance
dumbbellAuthored on Aug 12 2025, 9:55 PM
Reviewer
bz
Differential Revision
D54489: linuxkpi: Define `raw_spinlock_t` in <linux/spinlock.h>
Parents
rG14d93f612f26: iflib: Drop tx lock when freeing mbufs using simple_transmit
Branches
Unknown
Tags
Unknown