diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-18 15:56:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-18 15:56:41 -0500 |
commit | 0e06fb5b9ac8f0ded3b620e8d78d2587863ef8a1 (patch) | |
tree | 630201944a0333430c38bca0292b4ebbe5521b8b | |
parent | 9ca2c16f3b4311affcc80c2d0516b2b09709b7d9 (diff) | |
parent | 25d76ac888216c369dea91768764728b83769799 (diff) |
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 Kconfig fixes from Thomas Gleixner:
"Three patchlets to correct HIGHMEM64G and CMPXCHG64 dependencies in
Kconfig when CPU selections are explicitely set to M586 or M686"
* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/Kconfig: Explicitly enumerate i686-class CPUs in Kconfig
x86/Kconfig: Exclude i586-class CPUs lacking PAE support from the HIGHMEM64G Kconfig group
x86/Kconfig: Add missing i586-class CPUs to the X86_CMPXCHG64 Kconfig group
-rw-r--r-- | arch/x86/Kconfig | 2 | ||||
-rw-r--r-- | arch/x86/Kconfig.cpu | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index a528c14d45a5..c1236b187824 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1404,7 +1404,7 @@ config HIGHMEM4G | |||
1404 | 1404 | ||
1405 | config HIGHMEM64G | 1405 | config HIGHMEM64G |
1406 | bool "64GB" | 1406 | bool "64GB" |
1407 | depends on !M486 | 1407 | depends on !M486 && !M586 && !M586TSC && !M586MMX && !MGEODE_LX && !MGEODEGX1 && !MCYRIXIII && !MELAN && !MWINCHIPC6 && !WINCHIP3D && !MK6 |
1408 | select X86_PAE | 1408 | select X86_PAE |
1409 | ---help--- | 1409 | ---help--- |
1410 | Select this if you have a 32-bit processor and more than 4 | 1410 | Select this if you have a 32-bit processor and more than 4 |
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 65a9a4716e34..8b8d2297d486 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu | |||
@@ -374,7 +374,7 @@ config X86_TSC | |||
374 | 374 | ||
375 | config X86_CMPXCHG64 | 375 | config X86_CMPXCHG64 |
376 | def_bool y | 376 | def_bool y |
377 | depends on X86_PAE || X86_64 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MATOM | 377 | depends on X86_PAE || X86_64 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586TSC || M586MMX || MATOM || MGEODE_LX || MGEODEGX1 || MK6 || MK7 || MK8 |
378 | 378 | ||
379 | # this should be set for all -march=.. options where the compiler | 379 | # this should be set for all -march=.. options where the compiler |
380 | # generates cmov. | 380 | # generates cmov. |
@@ -385,7 +385,7 @@ config X86_CMOV | |||
385 | config X86_MINIMUM_CPU_FAMILY | 385 | config X86_MINIMUM_CPU_FAMILY |
386 | int | 386 | int |
387 | default "64" if X86_64 | 387 | default "64" if X86_64 |
388 | default "6" if X86_32 && X86_P6_NOP | 388 | default "6" if X86_32 && (MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7 || MEFFICEON || MATOM || MCRUSOE || MCORE2 || MK7 || MK8) |
389 | default "5" if X86_32 && X86_CMPXCHG64 | 389 | default "5" if X86_32 && X86_CMPXCHG64 |
390 | default "4" | 390 | default "4" |
391 | 391 | ||