aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-05-18 03:59:57 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-05-21 05:01:40 -0400
commitb5e498ad67863cc877fb05e6a71ce58eda4fb2ca (patch)
tree41800f004e3dfac860d39d9bc38d871564683231 /kernel
parentb2d6aba9657c7e3d027dd43ac7d7c405e0079d46 (diff)
timers: Provide generic Kconfig switches
We really don't want all the arch code defining stuff over and over. [ anna-maria: Added missing GENERIC_CMOS_UPDATE switch ] Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de> Cc: Paul Mundt <lethal@linux-sh.org> Link: http://lkml.kernel.org/r/1337529587.3208.2.camel@dionysos Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/Kconfig35
1 files changed, 35 insertions, 0 deletions
diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
index a20dc8a3c949..f6ebc4ff702a 100644
--- a/kernel/time/Kconfig
+++ b/kernel/time/Kconfig
@@ -33,3 +33,38 @@ config GENERIC_CLOCKEVENTS_BUILD
33 33
34config GENERIC_CLOCKEVENTS_MIN_ADJUST 34config GENERIC_CLOCKEVENTS_MIN_ADJUST
35 bool 35 bool
36
37# Options selectable by arch Kconfig
38
39# Watchdog function for clocksources to detect instabilities
40config CLOCKSOURCE_WATCHDOG
41 bool
42
43# Architecture has extra clocksource data
44config ARCH_CLOCKSOURCE_DATA
45 bool
46
47# Timekeeping vsyscall support
48config GENERIC_TIME_VSYSCALL
49 bool
50
51# ktime_t scalar 64bit nsec representation
52config KTIME_SCALAR
53 bool
54
55# Old style timekeeping
56config ARCH_USES_GETTIMEOFFSET
57 bool
58
59# The generic clock events infrastructure
60config GENERIC_CLOCKEVENTS
61 bool
62
63# Clockevents broadcasting infrastructure
64config GENERIC_CLOCKEVENTS_BROADCAST
65 bool
66 depends on GENERIC_CLOCKEVENTS
67
68# Generic update of CMOS clock
69config GENERIC_CMOS_UPDATE
70 bool