]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
locking/rtmutex: Move max_lock_depth into rtmutex.c
authorJoel Granados <joel.granados@kernel.org>
Tue, 29 Apr 2025 13:12:17 +0000 (15:12 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Jul 2025 09:52:47 +0000 (11:52 +0200)
commitf1b4f23a52c272f6c1e205e8ec243f563323c5aa
treeb019a7a252a92457e65690769c4219825d53d8ba
parentd0d05f602c1504fb868ed4a560d1465d88a3c5e5
locking/rtmutex: Move max_lock_depth into rtmutex.c

Move the max_lock_depth sysctl table element into rtmutex_api.c. Removed
the rtmutex.h include from sysctl.c. Chose to move into rtmutex_api.c
to avoid multiple registrations every time rtmutex.c is included in other
files.

This is part of a greater effort to move ctl tables into their
respective subsystems which will reduce the merge conflicts in
kernel/sysctl.c.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
include/linux/rtmutex.h
kernel/locking/rtmutex_api.c
kernel/sysctl.c