]> git.baikalelectronics.ru Git - kernel.git/commit
locking/spinlock: Split the lock types header, and move the raw types into <linux...
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:28:14 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 15:26:27 +0000 (17:26 +0200)
commit9734ee83c39830515540bfdb51d7fccc04655e43
tree4df2cfe80e57003d8ce14c30fb80aefc2a7b8c55
parent890e52a4210bdf3531bc4595f5ba29e7fc0e3c9f
locking/spinlock: Split the lock types header, and move the raw types into <linux/spinlock_types_raw.h>

Move raw_spinlock into its own file. Prepare for RT 'sleeping spinlocks', to
avoid header recursion, as RT locks require rtmutex.h, which in turn requires
the raw spinlock types.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211303.371269088@linutronix.de
include/linux/rwlock_types.h
include/linux/spinlock.h
include/linux/spinlock_types.h
include/linux/spinlock_types_raw.h [new file with mode: 0644]