]> 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)
commit46a2249a7e3c53e92d8f07d38728b136cdc5337a
tree3be25d5d3363140ee6cb0422ec2970c8489b453c
parent14d49d44d0f89c92925ba97c396f62e19f931c00
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