aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-05-21 17:16:18 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-05-21 17:43:46 -0400
commit764e0da14fd7ac2d259d98d34ece0a87d32306c9 (patch)
tree3d1c3065ca2f140f065c15c0b9645703241c68e7 /kernel
parentbdebaf80a02b854381fe212e0dac13c8c8edac57 (diff)
timers: Fixup the Kconfig consolidation fallout
Sigh, I missed to check which architecture Kconfig files actually include the core Kconfig file. There are a few which did not. So we broke them. Instead of adding the includes to those, we are better off to move the include to init/Kconfig like we did already with irqs and others. This does not change anything for the architectures using the old style periodic timer mode. It just solves the build wreckage there. For those architectures which use the clock events infrastructure it moves the include of the core Kconfig file to "General setup" which is a way more logical place than having it at random locations specified by the architecture specific Kconfigs. Reported-by: Ingo Molnar <mingo@kernel.org> Cc: Anna-Maria Gleixner <anna-maria@glx-um.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/Kconfig73
1 files changed, 41 insertions, 32 deletions
diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
index f6ebc4ff702a..fd42bd452b75 100644
--- a/kernel/time/Kconfig
+++ b/kernel/time/Kconfig
@@ -2,38 +2,6 @@
2# Timer subsystem related configuration options 2# Timer subsystem related configuration options
3# 3#
4 4
5# Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
6# only related to the tick functionality. Oneshot clockevent devices
7# are supported independ of this.
8config TICK_ONESHOT
9 bool
10
11config NO_HZ
12 bool "Tickless System (Dynamic Ticks)"
13 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
14 select TICK_ONESHOT
15 help
16 This option enables a tickless system: timer interrupts will
17 only trigger on an as-needed basis both when the system is
18 busy and when the system is idle.
19
20config HIGH_RES_TIMERS
21 bool "High Resolution Timer Support"
22 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
23 select TICK_ONESHOT
24 help
25 This option enables high resolution timer support. If your
26 hardware is not capable then this option only increases
27 the size of the kernel image.
28
29config GENERIC_CLOCKEVENTS_BUILD
30 bool
31 default y
32 depends on GENERIC_CLOCKEVENTS
33
34config GENERIC_CLOCKEVENTS_MIN_ADJUST
35 bool
36
37# Options selectable by arch Kconfig 5# Options selectable by arch Kconfig
38 6
39# Watchdog function for clocksources to detect instabilities 7# Watchdog function for clocksources to detect instabilities
@@ -60,11 +28,52 @@ config ARCH_USES_GETTIMEOFFSET
60config GENERIC_CLOCKEVENTS 28config GENERIC_CLOCKEVENTS
61 bool 29 bool
62 30
31# Migration helper. Builds, but does not invoke
32config GENERIC_CLOCKEVENTS_BUILD
33 bool
34 default y
35 depends on GENERIC_CLOCKEVENTS
36
63# Clockevents broadcasting infrastructure 37# Clockevents broadcasting infrastructure
64config GENERIC_CLOCKEVENTS_BROADCAST 38config GENERIC_CLOCKEVENTS_BROADCAST
65 bool 39 bool
66 depends on GENERIC_CLOCKEVENTS 40 depends on GENERIC_CLOCKEVENTS
67 41
42# Automatically adjust the min. reprogramming time for
43# clock event device
44config GENERIC_CLOCKEVENTS_MIN_ADJUST
45 bool
46
68# Generic update of CMOS clock 47# Generic update of CMOS clock
69config GENERIC_CMOS_UPDATE 48config GENERIC_CMOS_UPDATE
70 bool 49 bool
50
51if GENERIC_CLOCKEVENTS
52menu "Timers subsystem"
53
54# Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
55# only related to the tick functionality. Oneshot clockevent devices
56# are supported independ of this.
57config TICK_ONESHOT
58 bool
59
60config NO_HZ
61 bool "Tickless System (Dynamic Ticks)"
62 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
63 select TICK_ONESHOT
64 help
65 This option enables a tickless system: timer interrupts will
66 only trigger on an as-needed basis both when the system is
67 busy and when the system is idle.
68
69config HIGH_RES_TIMERS
70 bool "High Resolution Timer Support"
71 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
72 select TICK_ONESHOT
73 help
74 This option enables high resolution timer support. If your
75 hardware is not capable then this option only increases
76 the size of the kernel image.
77
78endmenu
79endif