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

From: tip-bot for Alessandro Rubini
Date: Mon Dec 05 2011 - 13:06:58 EST


Commit-ID: f9b15df466ba923a5832c9121ad8327ccf5483ef
Gitweb: http://git.kernel.org/tip/f9b15df466ba923a5832c9121ad8327ccf5483ef
Author: Alessandro Rubini <rubini@xxxxxxxxx>
AuthorDate: Sat, 29 Oct 2011 00:48:42 +0200
Committer: Ingo Molnar <mingo@xxxxxxx>
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.

Signed-off-by: Alessandro Rubini <rubini@xxxxxxxxx>
Cc: john stultz <johnstul@xxxxxxxxxx>
Link: http://lkml.kernel.org/r/20111028224842.GA7582@xxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 9e7a361..faf39a0 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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"

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