Skip to content

Commit bdebaf8

Browse files
committed
x86: Use generic time config
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de> Link: http://lkml.kernel.org/r/20120518163104.630579708@glx-um.de Cc: x86@kernel.org
1 parent 22bc48f commit bdebaf8

1 file changed

Lines changed: 7 additions & 24 deletions

File tree

‎arch/x86/Kconfig‎

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ config X86
8282
select ARCH_HAVE_NMI_SAFE_CMPXCHG
8383
select GENERIC_IOMAP
8484
select DCACHE_WORD_ACCESS
85+
select GENERIC_CMOS_UPDATE
86+
select CLOCKSOURCE_WATCHDOG
87+
select GENERIC_CLOCKEVENTS
88+
select ARCH_CLOCKSOURCE_DATA if X86_64
89+
select GENERIC_CLOCKEVENTS_BROADCAST if X86_64 || (X86_32 && X86_LOCAL_APIC)
90+
select GENERIC_TIME_VSYSCALL if X86_64
91+
select KTIME_SCALAR if X86_32
8592

8693
config INSTRUCTION_DECODER
8794
def_bool (KPROBES || PERF_EVENTS)
@@ -96,23 +103,6 @@ config ARCH_DEFCONFIG
96103
default "arch/x86/configs/i386_defconfig" if X86_32
97104
default "arch/x86/configs/x86_64_defconfig" if X86_64
98105

99-
config GENERIC_CMOS_UPDATE
100-
def_bool y
101-
102-
config CLOCKSOURCE_WATCHDOG
103-
def_bool y
104-
105-
config GENERIC_CLOCKEVENTS
106-
def_bool y
107-
108-
config ARCH_CLOCKSOURCE_DATA
109-
def_bool y
110-
depends on X86_64
111-
112-
config GENERIC_CLOCKEVENTS_BROADCAST
113-
def_bool y
114-
depends on X86_64 || (X86_32 && X86_LOCAL_APIC)
115-
116106
config LOCKDEP_SUPPORT
117107
def_bool y
118108

@@ -166,10 +156,6 @@ config ARCH_HAS_CPU_IDLE_WAIT
166156
config GENERIC_CALIBRATE_DELAY
167157
def_bool y
168158

169-
config GENERIC_TIME_VSYSCALL
170-
bool
171-
default X86_64
172-
173159
config ARCH_HAS_CPU_RELAX
174160
def_bool y
175161

@@ -236,9 +222,6 @@ config ARCH_HWEIGHT_CFLAGS
236222
default "-fcall-saved-ecx -fcall-saved-edx" if X86_32
237223
default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64
238224

239-
config KTIME_SCALAR
240-
def_bool X86_32
241-
242225
config ARCH_CPU_PROBE_RELEASE
243226
def_bool y
244227
depends on HOTPLUG_CPU

0 commit comments

Comments
 (0)