blob: a20dc8a3c9499e5631102ec869d67d6148c63ea6 [file] [log] [blame]
Thomas Gleixner79bf2bb2007-02-16 01:28:03 -08001#
2# Timer subsystem related configuration options
3#
Thomas Gleixner3872c482012-03-31 12:45:43 +02004
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.
Thomas Gleixner79bf2bb2007-02-16 01:28:03 -08008config TICK_ONESHOT
9 bool
Thomas Gleixner79bf2bb2007-02-16 01:28:03 -080010
11config NO_HZ
12 bool "Tickless System (Dynamic Ticks)"
John Stultz592913e2010-07-13 17:56:20 -070013 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
Thomas Gleixner79bf2bb2007-02-16 01:28:03 -080014 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.
Thomas Gleixner54cdfdb2007-02-16 01:28:11 -080019
20config HIGH_RES_TIMERS
21 bool "High Resolution Timer Support"
John Stultz592913e2010-07-13 17:56:20 -070022 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
Thomas Gleixner54cdfdb2007-02-16 01:28:11 -080023 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
Thomas Gleixnerde68d9b2007-10-12 23:04:05 +020029config GENERIC_CLOCKEVENTS_BUILD
30 bool
31 default y
Paul Bollea13b0322011-11-24 12:27:26 +010032 depends on GENERIC_CLOCKEVENTS
Thomas Gleixnerde68d9b2007-10-12 23:04:05 +020033
Martin Schwidefskyd1748302011-08-23 15:29:42 +020034config GENERIC_CLOCKEVENTS_MIN_ADJUST
35 bool