]> Pileus Git - ~andy/linux/blob - kernel/time/Kconfig
time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons
[~andy/linux] / kernel / time / Kconfig
1 #
2 # Timer subsystem related configuration options
3 #
4
5 # Options selectable by arch Kconfig
6
7 # Watchdog function for clocksources to detect instabilities
8 config CLOCKSOURCE_WATCHDOG
9         bool
10
11 # Architecture has extra clocksource data
12 config ARCH_CLOCKSOURCE_DATA
13         bool
14
15 # Timekeeping vsyscall support
16 config GENERIC_TIME_VSYSCALL
17         bool
18
19 # Timekeeping vsyscall support
20 config GENERIC_TIME_VSYSCALL_OLD
21         bool
22
23 # ktime_t scalar 64bit nsec representation
24 config KTIME_SCALAR
25         bool
26
27 # Old style timekeeping
28 config ARCH_USES_GETTIMEOFFSET
29         bool
30
31 # The generic clock events infrastructure
32 config GENERIC_CLOCKEVENTS
33         bool
34
35 # Migration helper. Builds, but does not invoke
36 config GENERIC_CLOCKEVENTS_BUILD
37         bool
38         default y
39         depends on GENERIC_CLOCKEVENTS
40
41 # Architecture can handle broadcast in a driver-agnostic way
42 config ARCH_HAS_TICK_BROADCAST
43         bool
44
45 # Clockevents broadcasting infrastructure
46 config GENERIC_CLOCKEVENTS_BROADCAST
47         bool
48         depends on GENERIC_CLOCKEVENTS
49
50 # Automatically adjust the min. reprogramming time for
51 # clock event device
52 config GENERIC_CLOCKEVENTS_MIN_ADJUST
53         bool
54
55 # Generic update of CMOS clock
56 config GENERIC_CMOS_UPDATE
57         bool
58
59 if GENERIC_CLOCKEVENTS
60 menu "Timers subsystem"
61
62 # Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
63 # only related to the tick functionality. Oneshot clockevent devices
64 # are supported independ of this.
65 config TICK_ONESHOT
66         bool
67
68 config NO_HZ
69         bool "Tickless System (Dynamic Ticks)"
70         depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
71         select TICK_ONESHOT
72         help
73           This option enables a tickless system: timer interrupts will
74           only trigger on an as-needed basis both when the system is
75           busy and when the system is idle.
76
77 config HIGH_RES_TIMERS
78         bool "High Resolution Timer Support"
79         depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
80         select TICK_ONESHOT
81         help
82           This option enables high resolution timer support. If your
83           hardware is not capable then this option only increases
84           the size of the kernel image.
85
86 endmenu
87 endif