]> git.baikalelectronics.ru Git - kernel.git/commit
locking/spinlock/rt: Prepare for RT local_lock
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:29:27 +0000 (23:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 17:06:13 +0000 (19:06 +0200)
commit2b12e21d9c0c6cecebc8b55e4d8fa5ee5580d36e
tree2aac2ec3e333bc60166b13f039923d981f584d70
parent61dadb72debf236659fa389b63ab1e9cb889664c
locking/spinlock/rt: Prepare for RT local_lock

Add the static and runtime initializer mechanics to support the RT variant
of local_lock, which requires the lock type in the lockdep map to be set
to LD_LOCK_PERCPU.

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/20210815211305.967526724@linutronix.de
include/linux/spinlock_rt.h
include/linux/spinlock_types.h
include/linux/spinlock_types_raw.h
kernel/locking/spinlock_rt.c