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)
commit43d2d52d704e025518d35c3079fcbff744623166
tree3be25d5d3363140ee6cb0422ec2970c8489b453c
parenta321fb9038b335f3c447d1810b97d5f7eec152ac
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