Skip to content

Commit b5e498a

Browse files
committed
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>
1 parent b2d6aba commit b5e498a

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

‎kernel/time/Kconfig‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,38 @@ config GENERIC_CLOCKEVENTS_BUILD
3333

3434
config GENERIC_CLOCKEVENTS_MIN_ADJUST
3535
bool
36+
37+
# Options selectable by arch Kconfig
38+
39+
# Watchdog function for clocksources to detect instabilities
40+
config CLOCKSOURCE_WATCHDOG
41+
bool
42+
43+
# Architecture has extra clocksource data
44+
config ARCH_CLOCKSOURCE_DATA
45+
bool
46+
47+
# Timekeeping vsyscall support
48+
config GENERIC_TIME_VSYSCALL
49+
bool
50+
51+
# ktime_t scalar 64bit nsec representation
52+
config KTIME_SCALAR
53+
bool
54+
55+
# Old style timekeeping
56+
config ARCH_USES_GETTIMEOFFSET
57+
bool
58+
59+
# The generic clock events infrastructure
60+
config GENERIC_CLOCKEVENTS
61+
bool
62+
63+
# Clockevents broadcasting infrastructure
64+
config GENERIC_CLOCKEVENTS_BROADCAST
65+
bool
66+
depends on GENERIC_CLOCKEVENTS
67+
68+
# Generic update of CMOS clock
69+
config GENERIC_CMOS_UPDATE
70+
bool

0 commit comments

Comments
 (0)