diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-18 12:45:44 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-21 05:01:44 -0400 |
commit | bdebaf80a02b854381fe212e0dac13c8c8edac57 (patch) | |
tree | b6c453b5c7be8448935989613f265c771ab82dee /arch/x86/Kconfig | |
parent | 22bc48f986d21d0a8d80a642c7c4e87c11f42a5d (diff) |
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
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 31 |
1 files changed, 7 insertions, 24 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index c9866b0b77d8..3b0a9217836a 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -82,6 +82,13 @@ config X86 | |||
82 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 82 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
83 | select GENERIC_IOMAP | 83 | select GENERIC_IOMAP |
84 | select DCACHE_WORD_ACCESS | 84 | 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 | ||
85 | 92 | ||
86 | config INSTRUCTION_DECODER | 93 | config INSTRUCTION_DECODER |
87 | def_bool (KPROBES || PERF_EVENTS) | 94 | def_bool (KPROBES || PERF_EVENTS) |
@@ -96,23 +103,6 @@ config ARCH_DEFCONFIG | |||
96 | default "arch/x86/configs/i386_defconfig" if X86_32 | 103 | default "arch/x86/configs/i386_defconfig" if X86_32 |
97 | default "arch/x86/configs/x86_64_defconfig" if X86_64 | 104 | default "arch/x86/configs/x86_64_defconfig" if X86_64 |
98 | 105 | ||
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 | |||
116 | config LOCKDEP_SUPPORT | 106 | config LOCKDEP_SUPPORT |
117 | def_bool y | 107 | def_bool y |
118 | 108 | ||
@@ -166,10 +156,6 @@ config ARCH_HAS_CPU_IDLE_WAIT | |||
166 | config GENERIC_CALIBRATE_DELAY | 156 | config GENERIC_CALIBRATE_DELAY |
167 | def_bool y | 157 | def_bool y |
168 | 158 | ||
169 | config GENERIC_TIME_VSYSCALL | ||
170 | bool | ||
171 | default X86_64 | ||
172 | |||
173 | config ARCH_HAS_CPU_RELAX | 159 | config ARCH_HAS_CPU_RELAX |
174 | def_bool y | 160 | def_bool y |
175 | 161 | ||
@@ -236,9 +222,6 @@ config ARCH_HWEIGHT_CFLAGS | |||
236 | default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 | 222 | default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 |
237 | 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 | 223 | 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 |
238 | 224 | ||
239 | config KTIME_SCALAR | ||
240 | def_bool X86_32 | ||
241 | |||
242 | config ARCH_CPU_PROBE_RELEASE | 225 | config ARCH_CPU_PROBE_RELEASE |
243 | def_bool y | 226 | def_bool y |
244 | depends on HOTPLUG_CPU | 227 | depends on HOTPLUG_CPU |