]> git.baikalelectronics.ru Git - kernel.git/commit
locking/mutex: Move the 'struct mutex_waiter' definition from <linux/mutex.h> to...
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:28:33 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 16:24:31 +0000 (18:24 +0200)
commit66b85dc83bc1b047e378a94af517ecb85cd11a5e
tree3be25d5d3363140ee6cb0422ec2970c8489b453c
parent894fda8c810be9dddeab2151da02a55560c55a1c
locking/mutex: Move the 'struct mutex_waiter' definition from <linux/mutex.h> to the internal header

Move the mutex waiter declaration from the public <linux/mutex.h> header
to the internal kernel/locking/mutex.h header.

There is no reason to expose it outside of the core code.

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/20210815211304.054325923@linutronix.de
include/linux/mutex.h
kernel/locking/mutex.h