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>
This commit is contained in:
parent
6612538ca9
commit
96daa8cd53
@ -317,81 +317,66 @@ config X86_L1_CACHE_SHIFT
|
|||||||
default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MVIAC7
|
default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MVIAC7
|
||||||
|
|
||||||
config X86_XADD
|
config X86_XADD
|
||||||
bool
|
def_bool y
|
||||||
depends on X86_32 && !M386
|
depends on X86_32 && !M386
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_PPRO_FENCE
|
config X86_PPRO_FENCE
|
||||||
bool
|
def_bool y
|
||||||
depends on M686 || M586MMX || M586TSC || M586 || M486 || M386 || MGEODEGX1
|
depends on M686 || M586MMX || M586TSC || M586 || M486 || M386 || MGEODEGX1
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_F00F_BUG
|
config X86_F00F_BUG
|
||||||
bool
|
def_bool y
|
||||||
depends on M586MMX || M586TSC || M586 || M486 || M386
|
depends on M586MMX || M586TSC || M586 || M486 || M386
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_WP_WORKS_OK
|
config X86_WP_WORKS_OK
|
||||||
bool
|
def_bool y
|
||||||
depends on X86_32 && !M386
|
depends on X86_32 && !M386
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_INVLPG
|
config X86_INVLPG
|
||||||
bool
|
def_bool y
|
||||||
depends on X86_32 && !M386
|
depends on X86_32 && !M386
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_BSWAP
|
config X86_BSWAP
|
||||||
bool
|
def_bool y
|
||||||
depends on X86_32 && !M386
|
depends on X86_32 && !M386
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_POPAD_OK
|
config X86_POPAD_OK
|
||||||
bool
|
def_bool y
|
||||||
depends on X86_32 && !M386
|
depends on X86_32 && !M386
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_ALIGNMENT_16
|
config X86_ALIGNMENT_16
|
||||||
bool
|
def_bool y
|
||||||
depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1
|
depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_GOOD_APIC
|
config X86_GOOD_APIC
|
||||||
bool
|
def_bool y
|
||||||
depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8 || MEFFICEON || MCORE2 || MVIAC7 || X86_64
|
depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8 || MEFFICEON || MCORE2 || MVIAC7 || X86_64
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_INTEL_USERCOPY
|
config X86_INTEL_USERCOPY
|
||||||
bool
|
def_bool y
|
||||||
depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2
|
depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_USE_PPRO_CHECKSUM
|
config X86_USE_PPRO_CHECKSUM
|
||||||
bool
|
def_bool y
|
||||||
depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON || MGEODE_LX || MCORE2
|
depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON || MGEODE_LX || MCORE2
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_USE_3DNOW
|
config X86_USE_3DNOW
|
||||||
bool
|
def_bool y
|
||||||
depends on (MCYRIXIII || MK7 || MGEODE_LX) && !UML
|
depends on (MCYRIXIII || MK7 || MGEODE_LX) && !UML
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_OOSTORE
|
config X86_OOSTORE
|
||||||
bool
|
def_bool y
|
||||||
depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR
|
depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_TSC
|
config X86_TSC
|
||||||
bool
|
def_bool y
|
||||||
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
|
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
|
||||||
default y
|
|
||||||
|
|
||||||
# this should be set for all -march=.. options where the compiler
|
# this should be set for all -march=.. options where the compiler
|
||||||
# generates cmov.
|
# generates cmov.
|
||||||
config X86_CMOV
|
config X86_CMOV
|
||||||
bool
|
def_bool y
|
||||||
depends on (MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7)
|
depends on (MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7)
|
||||||
default y
|
|
||||||
|
|
||||||
config X86_MINIMUM_CPU_FAMILY
|
config X86_MINIMUM_CPU_FAMILY
|
||||||
int
|
int
|
||||||
@ -400,6 +385,5 @@ config X86_MINIMUM_CPU_FAMILY
|
|||||||
default "3"
|
default "3"
|
||||||
|
|
||||||
config X86_DEBUGCTLMSR
|
config X86_DEBUGCTLMSR
|
||||||
bool
|
def_bool y
|
||||||
depends on !(M586MMX || M586TSC || M586 || M486 || M386)
|
depends on !(M586MMX || M586TSC || M586 || M486 || M386)
|
||||||
default y
|
|
||||||
|
Loading…
Reference in New Issue
Block a user