locking/mutex: split out mutex_types.h
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Dec 2023 17:35:44 +0000 (12:35 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 21 Dec 2023 00:26:30 +0000 (19:26 -0500)
commitd84f317915172c6511fd6c14ea3f70c9d67fdf67
tree8d39b3766987ab98488f7cec8eb642fed68a2ca9
parent50d91c76582513852e38eb80491f54d44cfb51fc
locking/mutex: split out mutex_types.h

Trimming down sched.h dependencies: we don't want to include more than
the base types.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Will Deacon <will@kernel.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
include/linux/mutex.h
include/linux/mutex_types.h [new file with mode: 0644]
include/linux/sched.h