Skip to content

Commit

Permalink
x86/Kconfig: Cyclone-timer depends on x86-summit
Browse files Browse the repository at this point in the history
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@gnudd.com>
Cc: john stultz <johnstul@us.ibm.com>
Link: http://lkml.kernel.org/r/20111028224842.GA7582@mail.gnudd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Alessandro Rubini authored and Ingo Molnar committed Dec 5, 2011
1 parent b565201 commit f9b15df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit f9b15df

Please sign in to comment.