Skip to contentSkip to conversation

Kconfig: Remove DEBUG_RWSEMS

PATCH In review Robert P. J. Day 2 participants 2 messages Feb 8, 2007 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig: Remove DEBUG_RWSEMS

Remove the final vestiges of the kernel config option DEBUG_RWSEMS,
since it has no value, at least at the moment.

---

my apologies for pushing this so high up the food chain, but i want
to submit another patch that sits *right* next to this one in the Kconfig.debug file so i either have to do it in two steps, or submit those two changes as a single patch, and i don't like doing that.

so if this can go in in short order, well, that would be just ducky.
if it can't, then just toss it and i'll move on to that second patch.

lib/Kconfig.debug +0 -9
index 5c26818..356a5ab 100644
@@ -181,19 +181,11 @@ config DEBUG_MUTEXES
 	 This feature allows mutex semantics violations to be detected and
 	 reported.
 
-config DEBUG_RWSEMS
-	bool "RW-sem debugging: basic checks"
-	depends on DEBUG_KERNEL
-	help
-	 This feature allows read-write semaphore semantics violations to
-	 be detected and reported.
-
 config DEBUG_LOCK_ALLOC
 	bool "Lock debugging: detect incorrect freeing of live locks"
 	depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
 	select DEBUG_SPINLOCK
 	select DEBUG_MUTEXES
-	select DEBUG_RWSEMS
 	select LOCKDEP
 	help
 	 This feature will check whether any held lock (spinlock, rwlock,
@@ -209,7 +201,6 @@ config PROVE_LOCKING
 	select LOCKDEP
 	select DEBUG_SPINLOCK
 	select DEBUG_MUTEXES
-	select DEBUG_RWSEMS
 	select DEBUG_LOCK_ALLOC
 	default n
 	help
Signature · 7 lines
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Thu, 8 Feb 2007 17:06:12 -0500 (EST) Robert P. J. Day wrote:

Remove the final vestiges of the kernel config option DEBUG_RWSEMS,
since it has no value, at least at the moment.

no other uses of it.

Quoted 45 lines

---

my apologies for pushing this so high up the food chain, but i want
to submit another patch that sits *right* next to this one in the Kconfig.debug file so i either have to do it in two steps, or submit those two changes as a single patch, and i don't like doing that.

so if this can go in in short order, well, that would be just ducky.
if it can't, then just toss it and i'll move on to that second patch.

lib/Kconfig.debug +0 -9
index 5c26818..356a5ab 100644
@@ -181,19 +181,11 @@ config DEBUG_MUTEXES
 	 This feature allows mutex semantics violations to be detected and
 	 reported.
 
-config DEBUG_RWSEMS
-	bool "RW-sem debugging: basic checks"
-	depends on DEBUG_KERNEL
-	help
-	 This feature allows read-write semaphore semantics violations to
-	 be detected and reported.
-
 config DEBUG_LOCK_ALLOC
 	bool "Lock debugging: detect incorrect freeing of live locks"
 	depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
 	select DEBUG_SPINLOCK
 	select DEBUG_MUTEXES
-	select DEBUG_RWSEMS
 	select LOCKDEP
 	help
 	 This feature will check whether any held lock (spinlock, rwlock,
@@ -209,7 +201,6 @@ config PROVE_LOCKING
 	select LOCKDEP
 	select DEBUG_SPINLOCK
 	select DEBUG_MUTEXES
-	select DEBUG_RWSEMS
 	select DEBUG_LOCK_ALLOC
 	default n
 	help
Signature · 1 line
-- 

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***