diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-21 17:16:18 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-21 17:43:46 -0400 |
commit | 764e0da14fd7ac2d259d98d34ece0a87d32306c9 (patch) | |
tree | 3d1c3065ca2f140f065c15c0b9645703241c68e7 | |
parent | bdebaf80a02b854381fe212e0dac13c8c8edac57 (diff) |
timers: Fixup the Kconfig consolidation fallout
Sigh, I missed to check which architecture Kconfig files actually
include the core Kconfig file. There are a few which did not. So we
broke them.
Instead of adding the includes to those, we are better off to move the
include to init/Kconfig like we did already with irqs and others.
This does not change anything for the architectures using the old
style periodic timer mode. It just solves the build wreckage there.
For those architectures which use the clock events infrastructure it
moves the include of the core Kconfig file to "General setup" which is
a way more logical place than having it at random locations specified
by the architecture specific Kconfigs.
Reported-by: Ingo Molnar <mingo@kernel.org>
Cc: Anna-Maria Gleixner <anna-maria@glx-um.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/arm/Kconfig | 2 | ||||
-rw-r--r-- | arch/avr32/Kconfig | 2 | ||||
-rw-r--r-- | arch/blackfin/Kconfig | 2 | ||||
-rw-r--r-- | arch/c6x/Kconfig | 1 | ||||
-rw-r--r-- | arch/h8300/Kconfig.cpu | 2 | ||||
-rw-r--r-- | arch/hexagon/Kconfig | 1 | ||||
-rw-r--r-- | arch/m68k/Kconfig | 4 | ||||
-rw-r--r-- | arch/microblaze/Kconfig | 2 | ||||
-rw-r--r-- | arch/mips/Kconfig | 2 | ||||
-rw-r--r-- | arch/mn10300/Kconfig | 1 | ||||
-rw-r--r-- | arch/openrisc/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/Kconfig | 1 | ||||
-rw-r--r-- | arch/s390/Kconfig | 2 | ||||
-rw-r--r-- | arch/score/Kconfig | 1 | ||||
-rw-r--r-- | arch/sh/Kconfig | 3 | ||||
-rw-r--r-- | arch/sparc/Kconfig | 2 | ||||
-rw-r--r-- | arch/tile/Kconfig | 2 | ||||
-rw-r--r-- | arch/um/Kconfig.um | 1 | ||||
-rw-r--r-- | arch/unicore32/Kconfig | 2 | ||||
-rw-r--r-- | arch/x86/Kconfig | 2 | ||||
-rw-r--r-- | init/Kconfig | 1 | ||||
-rw-r--r-- | kernel/time/Kconfig | 73 |
22 files changed, 42 insertions, 68 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index feccc1d37ecf..c1e5f07fab93 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1459,8 +1459,6 @@ endmenu | |||
1459 | 1459 | ||
1460 | menu "Kernel Features" | 1460 | menu "Kernel Features" |
1461 | 1461 | ||
1462 | source "kernel/time/Kconfig" | ||
1463 | |||
1464 | config HAVE_SMP | 1462 | config HAVE_SMP |
1465 | bool | 1463 | bool |
1466 | help | 1464 | help |
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index 0bd13ab9f43b..f8bc2d27d148 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
@@ -61,8 +61,6 @@ source "kernel/Kconfig.freezer" | |||
61 | 61 | ||
62 | menu "System Type and features" | 62 | menu "System Type and features" |
63 | 63 | ||
64 | source "kernel/time/Kconfig" | ||
65 | |||
66 | config SUBARCH_AVR32B | 64 | config SUBARCH_AVR32B |
67 | bool | 65 | bool |
68 | config MMU | 66 | config MMU |
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index bc21de2e8fed..f7897eefa630 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -631,8 +631,6 @@ config GPTMR0_CLOCKSOURCE | |||
631 | depends on !TICKSOURCE_GPTMR0 | 631 | depends on !TICKSOURCE_GPTMR0 |
632 | endmenu | 632 | endmenu |
633 | 633 | ||
634 | source kernel/time/Kconfig | ||
635 | |||
636 | comment "Misc" | 634 | comment "Misc" |
637 | 635 | ||
638 | choice | 636 | choice |
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig index 30c04c658b9e..9d446eff2c04 100644 --- a/arch/c6x/Kconfig +++ b/arch/c6x/Kconfig | |||
@@ -132,7 +132,6 @@ source "mm/Kconfig" | |||
132 | source "kernel/Kconfig.preempt" | 132 | source "kernel/Kconfig.preempt" |
133 | 133 | ||
134 | source "kernel/Kconfig.hz" | 134 | source "kernel/Kconfig.hz" |
135 | source "kernel/time/Kconfig" | ||
136 | 135 | ||
137 | endmenu | 136 | endmenu |
138 | 137 | ||
diff --git a/arch/h8300/Kconfig.cpu b/arch/h8300/Kconfig.cpu index 15c22286ae79..321f3922728b 100644 --- a/arch/h8300/Kconfig.cpu +++ b/arch/h8300/Kconfig.cpu | |||
@@ -1,7 +1,5 @@ | |||
1 | menu "Processor type and features" | 1 | menu "Processor type and features" |
2 | 2 | ||
3 | source "kernel/time/Kconfig" | ||
4 | |||
5 | choice | 3 | choice |
6 | prompt "H8/300 platform" | 4 | prompt "H8/300 platform" |
7 | default H8300H_GENERIC | 5 | default H8300H_GENERIC |
diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig index 7727ed9d2bf3..35f6c32d040c 100644 --- a/arch/hexagon/Kconfig +++ b/arch/hexagon/Kconfig | |||
@@ -183,7 +183,6 @@ endchoice | |||
183 | source "mm/Kconfig" | 183 | source "mm/Kconfig" |
184 | 184 | ||
185 | source "kernel/Kconfig.hz" | 185 | source "kernel/Kconfig.hz" |
186 | source "kernel/time/Kconfig" | ||
187 | 186 | ||
188 | config GENERIC_GPIO | 187 | config GENERIC_GPIO |
189 | bool "Generic GPIO support" | 188 | bool "Generic GPIO support" |
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 2f4b0f0610d6..cac5b6be572a 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -106,10 +106,6 @@ if COLDFIRE | |||
106 | source "kernel/Kconfig.preempt" | 106 | source "kernel/Kconfig.preempt" |
107 | endif | 107 | endif |
108 | 108 | ||
109 | if !MMU || COLDFIRE | ||
110 | source "kernel/time/Kconfig" | ||
111 | endif | ||
112 | |||
113 | source "mm/Kconfig" | 109 | source "mm/Kconfig" |
114 | 110 | ||
115 | endmenu | 111 | endmenu |
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 3e786ac9a655..83460468998d 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -74,8 +74,6 @@ source "arch/microblaze/platform/Kconfig.platform" | |||
74 | 74 | ||
75 | menu "Processor type and features" | 75 | menu "Processor type and features" |
76 | 76 | ||
77 | source "kernel/time/Kconfig" | ||
78 | |||
79 | source "kernel/Kconfig.preempt" | 77 | source "kernel/Kconfig.preempt" |
80 | 78 | ||
81 | source "kernel/Kconfig.hz" | 79 | source "kernel/Kconfig.hz" |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index c9c330bc4e76..b65a730cba75 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -2205,8 +2205,6 @@ config NR_CPUS | |||
2205 | performance should round up your number of processors to the next | 2205 | performance should round up your number of processors to the next |
2206 | power of two. | 2206 | power of two. |
2207 | 2207 | ||
2208 | source "kernel/time/Kconfig" | ||
2209 | |||
2210 | # | 2208 | # |
2211 | # Timer Interrupt Frequency Configuration | 2209 | # Timer Interrupt Frequency Configuration |
2212 | # | 2210 | # |
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index 7f78057af2f5..687f9b4a2ed6 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
@@ -226,7 +226,6 @@ config MN10300_USING_JTAG | |||
226 | single-stepping, which are taken over completely by the JTAG unit. | 226 | single-stepping, which are taken over completely by the JTAG unit. |
227 | 227 | ||
228 | source "kernel/Kconfig.hz" | 228 | source "kernel/Kconfig.hz" |
229 | source "kernel/time/Kconfig" | ||
230 | 229 | ||
231 | config MN10300_RTC | 230 | config MN10300_RTC |
232 | bool "Using MN10300 RTC" | 231 | bool "Using MN10300 RTC" |
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index be04485431fe..70653039e79b 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig | |||
@@ -106,7 +106,6 @@ config OPENRISC_HAVE_INST_DIV | |||
106 | endmenu | 106 | endmenu |
107 | 107 | ||
108 | 108 | ||
109 | source "kernel/time/Kconfig" | ||
110 | source kernel/Kconfig.hz | 109 | source kernel/Kconfig.hz |
111 | source kernel/Kconfig.preempt | 110 | source kernel/Kconfig.preempt |
112 | source "mm/Kconfig" | 111 | source "mm/Kconfig" |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 901215f7a2f2..d47cf7ffa792 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -278,7 +278,6 @@ config HIGHMEM | |||
278 | bool "High memory support" | 278 | bool "High memory support" |
279 | depends on PPC32 | 279 | depends on PPC32 |
280 | 280 | ||
281 | source kernel/time/Kconfig | ||
282 | source kernel/Kconfig.hz | 281 | source kernel/Kconfig.hz |
283 | source kernel/Kconfig.preempt | 282 | source kernel/Kconfig.preempt |
284 | source "fs/Kconfig.binfmt" | 283 | source "fs/Kconfig.binfmt" |
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index f9edb9303a7e..d0325d9ae21f 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -131,8 +131,6 @@ menu "Base setup" | |||
131 | 131 | ||
132 | comment "Processor type and features" | 132 | comment "Processor type and features" |
133 | 133 | ||
134 | source "kernel/time/Kconfig" | ||
135 | |||
136 | config 64BIT | 134 | config 64BIT |
137 | def_bool y | 135 | def_bool y |
138 | prompt "64 bit kernel" | 136 | prompt "64 bit kernel" |
diff --git a/arch/score/Kconfig b/arch/score/Kconfig index f5d3b3237419..ba0f412920be 100644 --- a/arch/score/Kconfig +++ b/arch/score/Kconfig | |||
@@ -66,7 +66,6 @@ config MEMORY_START | |||
66 | hex | 66 | hex |
67 | default 0xa0000000 | 67 | default 0xa0000000 |
68 | 68 | ||
69 | source "kernel/time/Kconfig" | ||
70 | source "kernel/Kconfig.hz" | 69 | source "kernel/Kconfig.hz" |
71 | source "kernel/Kconfig.preempt" | 70 | source "kernel/Kconfig.preempt" |
72 | 71 | ||
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index cffd8b0082d5..820dfe3c7b69 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -577,9 +577,6 @@ config SH_CLK_CPG_LEGACY | |||
577 | depends on SH_CLK_CPG | 577 | depends on SH_CLK_CPG |
578 | def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ | 578 | def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ |
579 | !CPU_SHX3 && !CPU_SUBTYPE_SH7757 | 579 | !CPU_SHX3 && !CPU_SUBTYPE_SH7757 |
580 | |||
581 | source "kernel/time/Kconfig" | ||
582 | |||
583 | endmenu | 580 | endmenu |
584 | 581 | ||
585 | menu "CPU Frequency scaling" | 582 | menu "CPU Frequency scaling" |
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 33399d3d90bc..b5a035a5c53a 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -266,8 +266,6 @@ config HOTPLUG_CPU | |||
266 | can be controlled through /sys/devices/system/cpu/cpu#. | 266 | can be controlled through /sys/devices/system/cpu/cpu#. |
267 | Say N if you want to disable CPU hotplug. | 267 | Say N if you want to disable CPU hotplug. |
268 | 268 | ||
269 | source "kernel/time/Kconfig" | ||
270 | |||
271 | if SPARC64 | 269 | if SPARC64 |
272 | source "drivers/cpufreq/Kconfig" | 270 | source "drivers/cpufreq/Kconfig" |
273 | 271 | ||
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index b56772cac5d2..4eec3a1a72c0 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
@@ -136,8 +136,6 @@ config NR_CPUS | |||
136 | smaller kernel memory footprint results from using a smaller | 136 | smaller kernel memory footprint results from using a smaller |
137 | value on chips with fewer tiles. | 137 | value on chips with fewer tiles. |
138 | 138 | ||
139 | source "kernel/time/Kconfig" | ||
140 | |||
141 | source "kernel/Kconfig.hz" | 139 | source "kernel/Kconfig.hz" |
142 | 140 | ||
143 | config KEXEC | 141 | config KEXEC |
diff --git a/arch/um/Kconfig.um b/arch/um/Kconfig.um index 70fd690964e4..bf87f25eb2de 100644 --- a/arch/um/Kconfig.um +++ b/arch/um/Kconfig.um | |||
@@ -10,7 +10,6 @@ config STATIC_LINK | |||
10 | 2.75G) for UML. | 10 | 2.75G) for UML. |
11 | 11 | ||
12 | source "mm/Kconfig" | 12 | source "mm/Kconfig" |
13 | source "kernel/time/Kconfig" | ||
14 | 13 | ||
15 | config LD_SCRIPT_STATIC | 14 | config LD_SCRIPT_STATIC |
16 | bool | 15 | bool |
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index a25ca7606bea..47ad5210606f 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfig | |||
@@ -143,8 +143,6 @@ endmenu | |||
143 | 143 | ||
144 | menu "Kernel Features" | 144 | menu "Kernel Features" |
145 | 145 | ||
146 | source "kernel/time/Kconfig" | ||
147 | |||
148 | source "kernel/Kconfig.preempt" | 146 | source "kernel/Kconfig.preempt" |
149 | 147 | ||
150 | source "kernel/Kconfig.hz" | 148 | source "kernel/Kconfig.hz" |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3b0a9217836a..1b1e0493ef7f 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -241,8 +241,6 @@ config ZONE_DMA | |||
241 | 241 | ||
242 | If unsure, say Y. | 242 | If unsure, say Y. |
243 | 243 | ||
244 | source "kernel/time/Kconfig" | ||
245 | |||
246 | config SMP | 244 | config SMP |
247 | bool "Symmetric multi-processing support" | 245 | bool "Symmetric multi-processing support" |
248 | ---help--- | 246 | ---help--- |
diff --git a/init/Kconfig b/init/Kconfig index 6cfd71d06463..528a0c4111cc 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -387,6 +387,7 @@ config AUDIT_LOGINUID_IMMUTABLE | |||
387 | but may not be backwards compatible with older init systems. | 387 | but may not be backwards compatible with older init systems. |
388 | 388 | ||
389 | source "kernel/irq/Kconfig" | 389 | source "kernel/irq/Kconfig" |
390 | source "kernel/time/Kconfig" | ||
390 | 391 | ||
391 | menu "RCU Subsystem" | 392 | menu "RCU Subsystem" |
392 | 393 | ||
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 | ||