diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/Kconfig | 73 |
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. | ||
8 | config TICK_ONESHOT | ||
9 | bool | ||
10 | |||
11 | config 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 | |||
20 | config 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 | |||
29 | config GENERIC_CLOCKEVENTS_BUILD | ||
30 | bool | ||
31 | default y | ||
32 | depends on GENERIC_CLOCKEVENTS | ||
33 | |||
34 | config 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 | |||
60 | config GENERIC_CLOCKEVENTS | 28 | config GENERIC_CLOCKEVENTS |
61 | bool | 29 | bool |
62 | 30 | ||
31 | # Migration helper. Builds, but does not invoke | ||
32 | config GENERIC_CLOCKEVENTS_BUILD | ||
33 | bool | ||
34 | default y | ||
35 | depends on GENERIC_CLOCKEVENTS | ||
36 | |||
63 | # Clockevents broadcasting infrastructure | 37 | # Clockevents broadcasting infrastructure |
64 | config GENERIC_CLOCKEVENTS_BROADCAST | 38 | config 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 | ||
44 | config GENERIC_CLOCKEVENTS_MIN_ADJUST | ||
45 | bool | ||
46 | |||
68 | # Generic update of CMOS clock | 47 | # Generic update of CMOS clock |
69 | config GENERIC_CMOS_UPDATE | 48 | config GENERIC_CMOS_UPDATE |
70 | bool | 49 | bool |
50 | |||
51 | if GENERIC_CLOCKEVENTS | ||
52 | menu "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. | ||
57 | config TICK_ONESHOT | ||
58 | bool | ||
59 | |||
60 | config 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 | |||
69 | config 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 | |||
78 | endmenu | ||
79 | endif | ||