Skip to contentSkip to conversation

x86 Kconfig: cyclone-timer depends on x86-summit

PATCH In review Alessandro Rubini 1 participant 2 messages Oct 28, 2011 – Dec 5, 2011 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86 Kconfig: cyclone-timer depends on x86-summit

CONFIG_X86_CYCLONE_TIMER depends on CONFIG_X86_32_NON_STANDARD, which forces drivers/clocksource/cyclone.c to be compiled. The file doesn't do anything unless enabled by arch/x86/kernel/apic/summit_32.c

Make CONFIG_X86_CYCLONE_TIMER depend by X86_SUMMIT instead, to avoid unnecessary code in other non-standard systems.

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc john stultz <[email protected]>
---
 arch/x86/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/Kconfig +1 -1
index f497677..5c67a1f 100644
@@ -619,7 +619,7 @@ config X86_SUMMIT_NUMA
 
 config X86_CYCLONE_TIMER
 	def_bool y
-	depends on X86_32_NON_STANDARD
+	depends on X86_SUMMIT
 
 source "arch/x86/Kconfig.cpu"
 
Signature · 1 line
1.5.6.5
#1 lore raw

[tip:x86/platform] x86/Kconfig: Cyclone-timer depends on x86-summit

Commit-ID:  f9b15df466ba923a5832c9121ad8327ccf5483ef
Gitweb:     http://git.kernel.org/tip/f9b15df466ba923a5832c9121ad8327ccf5483ef
Author:     Alessandro Rubini <[email protected]>
AuthorDate: Sat, 29 Oct 2011 00:48:42 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 5 Dec 2011 18:18:15 +0100

x86/Kconfig: Cyclone-timer depends on x86-summit

CONFIG_X86_CYCLONE_TIMER depends on CONFIG_X86_32_NON_STANDARD, which forces drivers/clocksource/cyclone.c to be compiled. The file doesn't do anything unless enabled by arch/x86/kernel/apic/summit_32.c

Make CONFIG_X86_CYCLONE_TIMER depend by X86_SUMMIT instead, to avoid unnecessary code in other non-standard systems.

---
 arch/x86/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/Kconfig +1 -1
index 9e7a361..faf39a0 100644
@@ -633,7 +633,7 @@ config X86_SUMMIT_NUMA
 
 config X86_CYCLONE_TIMER
 	def_bool y
-	depends on X86_32_NON_STANDARD
+	depends on X86_SUMMIT
 
 source "arch/x86/Kconfig.cpu"