Skip to contentSkip to conversation

arch:Kconfig.locks Remove unused config option.

PATCH Applied Justin P. Mattock 4 participants 6 messages Mar 29, 2011 – Apr 10, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch:Kconfig.locks Remove unused config option.

using a cleanup script I found this, could be real/fake not sure I grepped the whole kernel and only found this. If/when you have time let me know..

---
 arch/Kconfig         |    3 ---
 kernel/Kconfig.locks |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)
arch/Kconfig +0 -3
index f78c2be..8d24bac 100644
@@ -144,9 +144,6 @@ config HAVE_CLK
 config HAVE_DMA_API_DEBUG
 	bool
 
-config HAVE_DEFAULT_NO_SPIN_MUTEXES
-	bool
-
 config HAVE_HW_BREAKPOINT
 	bool
 	depends on PERF_EVENTS
kernel/Kconfig.locks +1 -1
index 88c92fb..5e62baf 100644
@@ -199,4 +199,4 @@ config INLINE_WRITE_UNLOCK_IRQRESTORE
 	def_bool !DEBUG_SPINLOCK && ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
 
 config MUTEX_SPIN_ON_OWNER
-	def_bool SMP && !DEBUG_MUTEXES && !HAVE_DEFAULT_NO_SPIN_MUTEXES
+	def_bool SMP && !DEBUG_MUTEXES 
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Justin P. Mattock

using a cleanup script I found this, could be real/fake not sure I grepped the whole kernel and only found this. If/when you have time let me know..

This was added by: 36cd3c9f925b9307236505ae7ad1ad7ac4d4357c
mutex: have non-spinning mutexes on s390 by default

and removed by: fa188ae1657d6edc7963d524ce9a0650fe725242 [S390] mutex: enable spinning mutex on s390

So I think you are safe in removing it.

Thanks!

Quoted 2 lines

-- Steve

Quoted 38 lines
---
 arch/Kconfig         |    3 ---
 kernel/Kconfig.locks |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)
arch/Kconfig +0 -3
index f78c2be..8d24bac 100644
@@ -144,9 +144,6 @@ config HAVE_CLK
 config HAVE_DMA_API_DEBUG
 	bool
 
-config HAVE_DEFAULT_NO_SPIN_MUTEXES
-	bool
-
 config HAVE_HW_BREAKPOINT
 	bool
 	depends on PERF_EVENTS
kernel/Kconfig.locks +1 -1
index 88c92fb..5e62baf 100644
@@ -199,4 +199,4 @@ config INLINE_WRITE_UNLOCK_IRQRESTORE
 	def_bool !DEBUG_SPINLOCK && ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
 
 config MUTEX_SPIN_ON_OWNER
-	def_bool SMP && !DEBUG_MUTEXES && !HAVE_DEFAULT_NO_SPIN_MUTEXES
+	def_bool SMP && !DEBUG_MUTEXES 
Signature · 7 lines
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#2 lore raw
Quoted 13 lines · Steven Rostedt
Quoted 3 lines · Justin P. Mattock

using a cleanup script I found this, could be real/fake not sure I grepped the whole kernel and only found this. If/when you have time let me know..

This was added by: 36cd3c9f925b9307236505ae7ad1ad7ac4d4357c
mutex: have non-spinning mutexes on s390 by default

and removed by: fa188ae1657d6edc7963d524ce9a0650fe725242 [S390] mutex: enable spinning mutex on s390

So I think you are safe in removing it.

Quoted 9 lines

Thanks!

Quoted 2 lines

-- Steve

o.k... a bit confusing with some of these, but good learning!!

Quoted 39 lines
Quoted 38 lines
---
  arch/Kconfig         |    3 ---
  kernel/Kconfig.locks |    2 +-
  2 files changed, 1 insertions(+), 4 deletions(-)
arch/Kconfig +0 -3
index f78c2be..8d24bac 100644
@@ -144,9 +144,6 @@ config HAVE_CLK
  config HAVE_DMA_API_DEBUG
  	bool
 
-config HAVE_DEFAULT_NO_SPIN_MUTEXES
-	bool
-
  config HAVE_HW_BREAKPOINT
  	bool
  	depends on PERF_EVENTS
kernel/Kconfig.locks +1 -2
index 88c92fb..5e62baf 100644
@@ -199,4 +199,4 @@ config INLINE_WRITE_UNLOCK_IRQRESTORE
  	def_bool !DEBUG_SPINLOCK&&  ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
 
  config MUTEX_SPIN_ON_OWNER
-	def_bool SMP&&  !DEBUG_MUTEXES&&  !HAVE_DEFAULT_NO_SPIN_MUTEXES
+	def_bool SMP&&  !DEBUG_MUTEXES
--

1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Steven Rostedt
Quoted 5 lines · Steven Rostedt
Quoted 3 lines · Justin P. Mattock

using a cleanup script I found this, could be real/fake not sure I grepped the whole kernel and only found this. If/when you have time let me know..

Quoted 7 lines

This was added by: 36cd3c9f925b9307236505ae7ad1ad7ac4d4357c
mutex: have non-spinning mutexes on s390 by default

and removed by: fa188ae1657d6edc7963d524ce9a0650fe725242 [S390] mutex: enable spinning mutex on s390

So I think you are safe in removing it.

Yes, that's just a leftover.

Quoted 5 lines
Quoted 3 lines
#4 lore raw
Quoted 9 lines · Heiko Carstens
Quoted 8 lines · Steven Rostedt
Quoted 3 lines · Justin P. Mattock

using a cleanup script I found this, could be real/fake not sure I grepped the whole kernel and only found this. If/when you have time let me know..

This was added by: 36cd3c9f925b9307236505ae7ad1ad7ac4d4357c
mutex: have non-spinning mutexes on s390 by default

Quoted 7 lines
Quoted 4 lines

and removed by: fa188ae1657d6edc7963d524ce9a0650fe725242 [S390] mutex: enable spinning mutex on s390

So I think you are safe in removing it.

Yes, that's just a leftover.

alright.. well I do see some others wouldn't mind give those a try as well.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Applied
#5 lore raw
In reply to Heiko Carstens
Quoted 12 lines · Heiko Carstens
Quoted 11 lines
Quoted 3 lines

using a cleanup script I found this, could be real/fake not sure I grepped the whole kernel and only found this. If/when you have time let me know..

This was added by: 36cd3c9f925b9307236505ae7ad1ad7ac4d4357c
mutex: have non-spinning mutexes on s390 by default

and removed by: fa188ae1657d6edc7963d524ce9a0650fe725242 [S390] mutex: enable spinning mutex on s390

So I think you are safe in removing it.

Quoted 7 lines

Yes, that's just a leftover.

Quoted 3 lines
Quoted 1 line

Applied, thanks everybody.

Signature · 2 lines
Jiri Kosina
SUSE Labs, Novell Inc.