]> 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)
commit6cbe034cdc56d043903695b6d6375e9a47d8838d
tree4df2cfe80e57003d8ce14c30fb80aefc2a7b8c55
parent8c3ecf14071c925cf3c9b010de8a7091439d6cb7
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]