]> www.infradead.org Git - users/jedix/linux-maple.git/commit
locking/rwsem: Make DEBUG_RWSEMS and PREEMPT_RT mutually exclusive
authorWaiman Long <longman@redhat.com>
Thu, 22 Feb 2024 15:05:40 +0000 (10:05 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 28 Feb 2024 12:08:38 +0000 (13:08 +0100)
commitf22f71322a18e90e127f2fc2c11cc2d5191bc4c6
treedf83c69681020977a15550a71c66fc47096c9699
parentd566c78659eccf085f905fd266fc461de92eaa8f
locking/rwsem: Make DEBUG_RWSEMS and PREEMPT_RT mutually exclusive

The debugging code enabled by CONFIG_DEBUG_RWSEMS=y will only be
compiled in when CONFIG_PREEMPT_RT isn't set. There is no point to
allow CONFIG_DEBUG_RWSEMS to be set in a kernel configuration where
CONFIG_PREEMPT_RT is also set. Make them mutually exclusive.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240222150540.79981-5-longman@redhat.com
lib/Kconfig.debug