mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] cpuidle: remove ARCH_HAS_DEFAULT_IDLE
@ 2013-03-21 12:41 Paul Bolle
  2013-04-10 13:52 ` [tip:smp/hotplug] idle: Remove unused ARCH_HAS_DEFAULT_IDLE tip-bot for Paul Bolle
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2013-03-21 12:41 UTC (permalink / raw)
  To: Paul Mundt, Thomas Gleixner, Ingo Molnar, H. Peter Anvin
  Cc: Len Brown, x86, linux-sh, linux-kernel

The Kconfig symbol ARCH_HAS_DEFAULT_IDLE is unused. Commit
a0bfa1373859e9d11dc92561a8667588803e42d8 ("cpuidle: stop depending on
pm_idle") removed the only place were it was actually used. But
it did not remove its Kconfig entries (for sh and x86). Remove those two
entries now.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) Untested.

1) Sent as a single patch. I'm happy to split it into two and resend it
if needed.

 arch/sh/Kconfig  | 3 ---
 arch/x86/Kconfig | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 5e85963..6d4327f 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -148,9 +148,6 @@ config ARCH_HAS_ILOG2_U32
 config ARCH_HAS_ILOG2_U64
 	def_bool n
 
-config ARCH_HAS_DEFAULT_IDLE
-	def_bool y
-
 config NO_IOPORT
 	def_bool !PCI
 	depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN && \
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 70c0f3d..fcf2939 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -188,9 +188,6 @@ config GENERIC_CALIBRATE_DELAY
 config ARCH_HAS_CPU_RELAX
 	def_bool y
 
-config ARCH_HAS_DEFAULT_IDLE
-	def_bool y
-
 config ARCH_HAS_CACHE_LINE_SIZE
 	def_bool y
 
-- 
1.7.11.7


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:smp/hotplug] idle: Remove unused ARCH_HAS_DEFAULT_IDLE
  2013-03-21 12:41 [PATCH] cpuidle: remove ARCH_HAS_DEFAULT_IDLE Paul Bolle
@ 2013-04-10 13:52 ` tip-bot for Paul Bolle
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Paul Bolle @ 2013-04-10 13:52 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, pebolle, hpa, mingo, lethal, tglx, len.brown

Commit-ID:  781b0e870c72be8a24c074073547e74e7b9bffd6
Gitweb:     http://git.kernel.org/tip/781b0e870c72be8a24c074073547e74e7b9bffd6
Author:     Paul Bolle <pebolle@tiscali.nl>
AuthorDate: Thu, 21 Mar 2013 13:41:23 +0100
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 10 Apr 2013 14:40:46 +0200

idle: Remove unused ARCH_HAS_DEFAULT_IDLE

The Kconfig symbol ARCH_HAS_DEFAULT_IDLE is unused. Commit
a0bfa1373859e9d11dc92561a8667588803e42d8 ("cpuidle: stop
depending on pm_idle") removed the only place were it was
actually used. But it did not remove its Kconfig entries (for sh
and x86). Remove those two entries now.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: Len Brown <len.brown@intel.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Link: http://lkml.kernel.org/r/1363869683.1390.134.camel@x61.thuisdomein
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/sh/Kconfig  | 3 ---
 arch/x86/Kconfig | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 853cbc9..0917fc3 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -150,9 +150,6 @@ config ARCH_HAS_ILOG2_U32
 config ARCH_HAS_ILOG2_U64
 	def_bool n
 
-config ARCH_HAS_DEFAULT_IDLE
-	def_bool y
-
 config NO_IOPORT
 	def_bool !PCI
 	depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN && \
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 422a72b..734152d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -189,9 +189,6 @@ config GENERIC_CALIBRATE_DELAY
 config ARCH_HAS_CPU_RELAX
 	def_bool y
 
-config ARCH_HAS_DEFAULT_IDLE
-	def_bool y
-
 config ARCH_HAS_CACHE_LINE_SIZE
 	def_bool y
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-10 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-21 12:41 [PATCH] cpuidle: remove ARCH_HAS_DEFAULT_IDLE Paul Bolle
2013-04-10 13:52 ` [tip:smp/hotplug] idle: Remove unused ARCH_HAS_DEFAULT_IDLE tip-bot for Paul Bolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®