Skip to content

Commit 764e0da

Browse files
committed
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>
1 parent bdebaf8 commit 764e0da

22 files changed

Lines changed: 42 additions & 68 deletions

File tree

‎arch/arm/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,8 +1459,6 @@ endmenu
14591459

14601460
menu "Kernel Features"
14611461

1462-
source "kernel/time/Kconfig"
1463-
14641462
config HAVE_SMP
14651463
bool
14661464
help

‎arch/avr32/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ source "kernel/Kconfig.freezer"
6161

6262
menu "System Type and features"
6363

64-
source "kernel/time/Kconfig"
65-
6664
config SUBARCH_AVR32B
6765
bool
6866
config MMU

‎arch/blackfin/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,6 @@ config GPTMR0_CLOCKSOURCE
631631
depends on !TICKSOURCE_GPTMR0
632632
endmenu
633633

634-
source kernel/time/Kconfig
635-
636634
comment "Misc"
637635

638636
choice

‎arch/c6x/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ source "mm/Kconfig"
132132
source "kernel/Kconfig.preempt"
133133

134134
source "kernel/Kconfig.hz"
135-
source "kernel/time/Kconfig"
136135

137136
endmenu
138137

‎arch/h8300/Kconfig.cpu‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
menu "Processor type and features"
22

3-
source "kernel/time/Kconfig"
4-
53
choice
64
prompt "H8/300 platform"
75
default H8300H_GENERIC

‎arch/hexagon/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ endchoice
183183
source "mm/Kconfig"
184184

185185
source "kernel/Kconfig.hz"
186-
source "kernel/time/Kconfig"
187186

188187
config GENERIC_GPIO
189188
bool "Generic GPIO support"

‎arch/m68k/Kconfig‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ if COLDFIRE
106106
source "kernel/Kconfig.preempt"
107107
endif
108108

109-
if !MMU || COLDFIRE
110-
source "kernel/time/Kconfig"
111-
endif
112-
113109
source "mm/Kconfig"
114110

115111
endmenu

‎arch/microblaze/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ source "arch/microblaze/platform/Kconfig.platform"
7474

7575
menu "Processor type and features"
7676

77-
source "kernel/time/Kconfig"
78-
7977
source "kernel/Kconfig.preempt"
8078

8179
source "kernel/Kconfig.hz"

‎arch/mips/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,8 +2205,6 @@ config NR_CPUS
22052205
performance should round up your number of processors to the next
22062206
power of two.
22072207

2208-
source "kernel/time/Kconfig"
2209-
22102208
#
22112209
# Timer Interrupt Frequency Configuration
22122210
#

‎arch/mn10300/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ config MN10300_USING_JTAG
226226
single-stepping, which are taken over completely by the JTAG unit.
227227

228228
source "kernel/Kconfig.hz"
229-
source "kernel/time/Kconfig"
230229

231230
config MN10300_RTC
232231
bool "Using MN10300 RTC"

0 commit comments

Comments
 (0)