]> www.infradead.org Git - users/hch/misc.git/commit
locking: Move MCS struct definition to public header
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Sun, 16 Mar 2025 04:05:17 +0000 (21:05 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 18 Mar 2025 17:28:21 +0000 (10:28 -0700)
commit8707d1eedcfbe85c4ff5191e233ddff01d39f4ba
tree23df374eb81e2b22dc99be576e1d637368824f4a
parentae0a457f5d33c336f3c4259a258f8b537531a04b
locking: Move MCS struct definition to public header

Move the definition of the struct mcs_spinlock from the private
mcs_spinlock.h header in kernel/locking to the mcs_spinlock.h
asm-generic header, since we will need to reference it from the
qspinlock.h header in subsequent commits.

Reviewed-by: Barret Rhoden <brho@google.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250316040541.108729-2-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/asm-generic/mcs_spinlock.h
kernel/locking/mcs_spinlock.h