aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-01-30 07:31:03 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:03 -0500
commit96daa8cd53945a1220d2b2f4a44bc57f0cc46760 (patch)
treeb187e25cd5b30e9f9f149fa4f38cc3af04da1b73 /arch
parent6612538ca9b38f0f45d0aec2aae8992c43313705 (diff)
x86: use def_bool where possible in Kconfig.cpu
x86: Use def_bool where possible in Kconfig.cpu Change occurances of: bool default X to: def_bool X Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig.cpu56
1 files changed, 20 insertions, 36 deletions
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu
index 69e2ee44fdff..018d68e3184e 100644
--- a/arch/x86/Kconfig.cpu
+++ b/arch/x86/Kconfig.cpu
@@ -219,10 +219,10 @@ config MGEODEGX1
219 Select this for a Geode GX1 (Cyrix MediaGX) chip. 219 Select this for a Geode GX1 (Cyrix MediaGX) chip.
220 220
221config MGEODE_LX 221config MGEODE_LX
222 bool "Geode GX/LX" 222 bool "Geode GX/LX"
223 depends on X86_32 223 depends on X86_32
224 help 224 help
225 Select this for AMD Geode GX and LX processors. 225 Select this for AMD Geode GX and LX processors.
226 226
227config MCYRIXIII 227config MCYRIXIII
228 bool "CyrixIII/VIA-C3" 228 bool "CyrixIII/VIA-C3"
@@ -258,7 +258,7 @@ config MPSC
258 Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey 258 Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey
259 Xeon CPUs with Intel 64bit which is compatible with x86-64. 259 Xeon CPUs with Intel 64bit which is compatible with x86-64.
260 Note that the latest Xeons (Xeon 51xx and 53xx) are not based on the 260 Note that the latest Xeons (Xeon 51xx and 53xx) are not based on the
261 Netburst core and shouldn't use this option. You can distinguish them 261 Netburst core and shouldn't use this option. You can distinguish them
262 using the cpu family field 262 using the cpu family field
263 in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one. 263 in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one.
264 264
@@ -317,81 +317,66 @@ config X86_L1_CACHE_SHIFT
317 default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MVIAC7 317 default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MVIAC7
318 318
319config X86_XADD 319config X86_XADD
320 bool 320 def_bool y
321 depends on X86_32 && !M386 321 depends on X86_32 && !M386
322 default y
323 322
324config X86_PPRO_FENCE 323config X86_PPRO_FENCE
325 bool 324 def_bool y
326 depends on M686 || M586MMX || M586TSC || M586 || M486 || M386 || MGEODEGX1 325 depends on M686 || M586MMX || M586TSC || M586 || M486 || M386 || MGEODEGX1
327 default y
328 326
329config X86_F00F_BUG 327config X86_F00F_BUG
330 bool 328 def_bool y
331 depends on M586MMX || M586TSC || M586 || M486 || M386 329 depends on M586MMX || M586TSC || M586 || M486 || M386
332 default y
333 330
334config X86_WP_WORKS_OK 331config X86_WP_WORKS_OK
335 bool 332 def_bool y
336 depends on X86_32 && !M386 333 depends on X86_32 && !M386
337 default y
338 334
339config X86_INVLPG 335config X86_INVLPG
340 bool 336 def_bool y
341 depends on X86_32 && !M386 337 depends on X86_32 && !M386
342 default y
343 338
344config X86_BSWAP 339config X86_BSWAP
345 bool 340 def_bool y
346 depends on X86_32 && !M386 341 depends on X86_32 && !M386
347 default y
348 342
349config X86_POPAD_OK 343config X86_POPAD_OK
350 bool 344 def_bool y
351 depends on X86_32 && !M386 345 depends on X86_32 && !M386
352 default y
353 346
354config X86_ALIGNMENT_16 347config X86_ALIGNMENT_16
355 bool 348 def_bool y
356 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 349 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1
357 default y
358 350
359config X86_GOOD_APIC 351config X86_GOOD_APIC
360 bool 352 def_bool y
361 depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8 || MEFFICEON || MCORE2 || MVIAC7 || X86_64 353 depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8 || MEFFICEON || MCORE2 || MVIAC7 || X86_64
362 default y
363 354
364config X86_INTEL_USERCOPY 355config X86_INTEL_USERCOPY
365 bool 356 def_bool y
366 depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2 357 depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2
367 default y
368 358
369config X86_USE_PPRO_CHECKSUM 359config X86_USE_PPRO_CHECKSUM
370 bool 360 def_bool y
371 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON || MGEODE_LX || MCORE2 361 depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON || MGEODE_LX || MCORE2
372 default y
373 362
374config X86_USE_3DNOW 363config X86_USE_3DNOW
375 bool 364 def_bool y
376 depends on (MCYRIXIII || MK7 || MGEODE_LX) && !UML 365 depends on (MCYRIXIII || MK7 || MGEODE_LX) && !UML
377 default y
378 366
379config X86_OOSTORE 367config X86_OOSTORE
380 bool 368 def_bool y
381 depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR 369 depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR
382 default y
383 370
384config X86_TSC 371config X86_TSC
385 bool 372 def_bool y
386 depends on ((MWINCHIP3D || MWINCHIP2 || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2 || MVIAC7 || MGEODEGX1 || MGEODE_LX || MCORE2) && !X86_NUMAQ) || X86_64 373 depends on ((MWINCHIP3D || MWINCHIP2 || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2 || MVIAC7 || MGEODEGX1 || MGEODE_LX || MCORE2) && !X86_NUMAQ) || X86_64
387 default y
388 374
389# this should be set for all -march=.. options where the compiler 375# this should be set for all -march=.. options where the compiler
390# generates cmov. 376# generates cmov.
391config X86_CMOV 377config X86_CMOV
392 bool 378 def_bool y
393 depends on (MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7) 379 depends on (MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7)
394 default y
395 380
396config X86_MINIMUM_CPU_FAMILY 381config X86_MINIMUM_CPU_FAMILY
397 int 382 int
@@ -400,6 +385,5 @@ config X86_MINIMUM_CPU_FAMILY
400 default "3" 385 default "3"
401 386
402config X86_DEBUGCTLMSR 387config X86_DEBUGCTLMSR
403 bool 388 def_bool y
404 depends on !(M586MMX || M586TSC || M586 || M486 || M386) 389 depends on !(M586MMX || M586TSC || M586 || M486 || M386)
405 default y