diff options
| author | Jan Beulich <JBeulich@novell.com> | 2010-04-21 10:23:44 -0400 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2010-04-28 20:25:53 -0400 |
| commit | 6fc108a08dcddf8f9113cc7102ddaacf7ed37a6b (patch) | |
| tree | f603e401149d7c5c64617e9e940d7da070ba9adf | |
| parent | 47f9fe26299ae022ac1e3fa12e7e73def62b7898 (diff) | |
x86: Clean up arch/x86/Kconfig*
No functional change intended.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <4BCF2690020000780003B340@vpn.id2.novell.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| -rw-r--r-- | arch/x86/Kconfig | 49 | ||||
| -rw-r--r-- | arch/x86/Kconfig.debug | 2 | ||||
| -rw-r--r-- | arch/x86/include/asm/boot.h | 2 |
3 files changed, 16 insertions, 37 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 9458685902bd..85e2252625bc 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
| @@ -197,20 +197,17 @@ config HAVE_INTEL_TXT | |||
| 197 | 197 | ||
| 198 | # Use the generic interrupt handling code in kernel/irq/: | 198 | # Use the generic interrupt handling code in kernel/irq/: |
| 199 | config GENERIC_HARDIRQS | 199 | config GENERIC_HARDIRQS |
| 200 | bool | 200 | def_bool y |
| 201 | default y | ||
| 202 | 201 | ||
| 203 | config GENERIC_HARDIRQS_NO__DO_IRQ | 202 | config GENERIC_HARDIRQS_NO__DO_IRQ |
| 204 | def_bool y | 203 | def_bool y |
| 205 | 204 | ||
| 206 | config GENERIC_IRQ_PROBE | 205 | config GENERIC_IRQ_PROBE |
| 207 | bool | 206 | def_bool y |
| 208 | default y | ||
| 209 | 207 | ||
| 210 | config GENERIC_PENDING_IRQ | 208 | config GENERIC_PENDING_IRQ |
| 211 | bool | 209 | def_bool y |
| 212 | depends on GENERIC_HARDIRQS && SMP | 210 | depends on GENERIC_HARDIRQS && SMP |
| 213 | default y | ||
| 214 | 211 | ||
| 215 | config USE_GENERIC_SMP_HELPERS | 212 | config USE_GENERIC_SMP_HELPERS |
| 216 | def_bool y | 213 | def_bool y |
| @@ -225,14 +222,12 @@ config X86_64_SMP | |||
| 225 | depends on X86_64 && SMP | 222 | depends on X86_64 && SMP |
| 226 | 223 | ||
| 227 | config X86_HT | 224 | config X86_HT |
| 228 | bool | 225 | def_bool y |
| 229 | depends on SMP | 226 | depends on SMP |
| 230 | default y | ||
| 231 | 227 | ||
| 232 | config X86_TRAMPOLINE | 228 | config X86_TRAMPOLINE |
| 233 | bool | 229 | def_bool y |
| 234 | depends on SMP || (64BIT && ACPI_SLEEP) | 230 | depends on SMP || (64BIT && ACPI_SLEEP) |
| 235 | default y | ||
| 236 | 231 | ||
| 237 | config X86_32_LAZY_GS | 232 | config X86_32_LAZY_GS |
| 238 | def_bool y | 233 | def_bool y |
| @@ -447,7 +442,7 @@ config X86_NUMAQ | |||
| 447 | firmware with - send email to <Martin.Bligh@us.ibm.com>. | 442 | firmware with - send email to <Martin.Bligh@us.ibm.com>. |
| 448 | 443 | ||
| 449 | config X86_SUPPORTS_MEMORY_FAILURE | 444 | config X86_SUPPORTS_MEMORY_FAILURE |
| 450 | bool | 445 | def_bool y |
| 451 | # MCE code calls memory_failure(): | 446 | # MCE code calls memory_failure(): |
| 452 | depends on X86_MCE | 447 | depends on X86_MCE |
| 453 | # On 32-bit this adds too big of NODES_SHIFT and we run out of page flags: | 448 | # On 32-bit this adds too big of NODES_SHIFT and we run out of page flags: |
| @@ -455,7 +450,6 @@ config X86_SUPPORTS_MEMORY_FAILURE | |||
| 455 | # On 32-bit SPARSEMEM adds too big of SECTIONS_WIDTH: | 450 | # On 32-bit SPARSEMEM adds too big of SECTIONS_WIDTH: |
| 456 | depends on X86_64 || !SPARSEMEM | 451 | depends on X86_64 || !SPARSEMEM |
| 457 | select ARCH_SUPPORTS_MEMORY_FAILURE | 452 | select ARCH_SUPPORTS_MEMORY_FAILURE |
| 458 | default y | ||
| 459 | 453 | ||
| 460 | config X86_VISWS | 454 | config X86_VISWS |
| 461 | bool "SGI 320/540 (Visual Workstation)" | 455 | bool "SGI 320/540 (Visual Workstation)" |
| @@ -570,7 +564,6 @@ config PARAVIRT_SPINLOCKS | |||
| 570 | 564 | ||
| 571 | config PARAVIRT_CLOCK | 565 | config PARAVIRT_CLOCK |
| 572 | bool | 566 | bool |
| 573 | default n | ||
| 574 | 567 | ||
| 575 | endif | 568 | endif |
| 576 | 569 | ||
| @@ -749,7 +742,6 @@ config MAXSMP | |||
| 749 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" | 742 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" |
| 750 | depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL | 743 | depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL |
| 751 | select CPUMASK_OFFSTACK | 744 | select CPUMASK_OFFSTACK |
| 752 | default n | ||
| 753 | ---help--- | 745 | ---help--- |
| 754 | Configure maximum number of CPUS and NUMA Nodes for this architecture. | 746 | Configure maximum number of CPUS and NUMA Nodes for this architecture. |
| 755 | If unsure, say N. | 747 | If unsure, say N. |
| @@ -829,7 +821,6 @@ config X86_VISWS_APIC | |||
| 829 | 821 | ||
| 830 | config X86_REROUTE_FOR_BROKEN_BOOT_IRQS | 822 | config X86_REROUTE_FOR_BROKEN_BOOT_IRQS |
| 831 | bool "Reroute for broken boot IRQs" | 823 | bool "Reroute for broken boot IRQs" |
| 832 | default n | ||
| 833 | depends on X86_IO_APIC | 824 | depends on X86_IO_APIC |
| 834 | ---help--- | 825 | ---help--- |
| 835 | This option enables a workaround that fixes a source of | 826 | This option enables a workaround that fixes a source of |
| @@ -876,9 +867,8 @@ config X86_MCE_AMD | |||
| 876 | the DRAM Error Threshold. | 867 | the DRAM Error Threshold. |
| 877 | 868 | ||
| 878 | config X86_ANCIENT_MCE | 869 | config X86_ANCIENT_MCE |
| 879 | def_bool n | 870 | bool "Support for old Pentium 5 / WinChip machine checks" |
| 880 | depends on X86_32 && X86_MCE | 871 | depends on X86_32 && X86_MCE |
| 881 | prompt "Support for old Pentium 5 / WinChip machine checks" | ||
| 882 | ---help--- | 872 | ---help--- |
| 883 | Include support for machine check handling on old Pentium 5 or WinChip | 873 | Include support for machine check handling on old Pentium 5 or WinChip |
| 884 | systems. These typically need to be enabled explicitely on the command | 874 | systems. These typically need to be enabled explicitely on the command |
| @@ -886,8 +876,7 @@ config X86_ANCIENT_MCE | |||
| 886 | 876 | ||
| 887 | config X86_MCE_THRESHOLD | 877 | config X86_MCE_THRESHOLD |
| 888 | depends on X86_MCE_AMD || X86_MCE_INTEL | 878 | depends on X86_MCE_AMD || X86_MCE_INTEL |
| 889 | bool | 879 | def_bool y |
| 890 | default y | ||
| 891 | 880 | ||
| 892 | config X86_MCE_INJECT | 881 | config X86_MCE_INJECT |
| 893 | depends on X86_MCE | 882 | depends on X86_MCE |
| @@ -1026,8 +1015,8 @@ config X86_CPUID | |||
| 1026 | 1015 | ||
| 1027 | choice | 1016 | choice |
| 1028 | prompt "High Memory Support" | 1017 | prompt "High Memory Support" |
| 1029 | default HIGHMEM4G if !X86_NUMAQ | ||
| 1030 | default HIGHMEM64G if X86_NUMAQ | 1018 | default HIGHMEM64G if X86_NUMAQ |
| 1019 | default HIGHMEM4G | ||
| 1031 | depends on X86_32 | 1020 | depends on X86_32 |
| 1032 | 1021 | ||
| 1033 | config NOHIGHMEM | 1022 | config NOHIGHMEM |
| @@ -1285,7 +1274,7 @@ source "mm/Kconfig" | |||
| 1285 | 1274 | ||
| 1286 | config HIGHPTE | 1275 | config HIGHPTE |
| 1287 | bool "Allocate 3rd-level pagetables from highmem" | 1276 | bool "Allocate 3rd-level pagetables from highmem" |
| 1288 | depends on X86_32 && (HIGHMEM4G || HIGHMEM64G) | 1277 | depends on HIGHMEM |
| 1289 | ---help--- | 1278 | ---help--- |
| 1290 | The VM uses one page table entry for each page of physical memory. | 1279 | The VM uses one page table entry for each page of physical memory. |
| 1291 | For systems with a lot of RAM, this can be wasteful of precious | 1280 | For systems with a lot of RAM, this can be wasteful of precious |
| @@ -1369,8 +1358,7 @@ config MATH_EMULATION | |||
| 1369 | kernel, it won't hurt. | 1358 | kernel, it won't hurt. |
| 1370 | 1359 | ||
| 1371 | config MTRR | 1360 | config MTRR |
| 1372 | bool | 1361 | def_bool y |
| 1373 | default y | ||
| 1374 | prompt "MTRR (Memory Type Range Register) support" if EMBEDDED | 1362 | prompt "MTRR (Memory Type Range Register) support" if EMBEDDED |
| 1375 | ---help--- | 1363 | ---help--- |
| 1376 | On Intel P6 family processors (Pentium Pro, Pentium II and later) | 1364 | On Intel P6 family processors (Pentium Pro, Pentium II and later) |
| @@ -1436,8 +1424,7 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT | |||
| 1436 | mtrr_spare_reg_nr=N on the kernel command line. | 1424 | mtrr_spare_reg_nr=N on the kernel command line. |
| 1437 | 1425 | ||
| 1438 | config X86_PAT | 1426 | config X86_PAT |
| 1439 | bool | 1427 | def_bool y |
| 1440 | default y | ||
| 1441 | prompt "x86 PAT support" if EMBEDDED | 1428 | prompt "x86 PAT support" if EMBEDDED |
| 1442 | depends on MTRR | 1429 | depends on MTRR |
| 1443 | ---help--- | 1430 | ---help--- |
| @@ -1605,8 +1592,7 @@ config X86_NEED_RELOCS | |||
| 1605 | depends on X86_32 && RELOCATABLE | 1592 | depends on X86_32 && RELOCATABLE |
| 1606 | 1593 | ||
| 1607 | config PHYSICAL_ALIGN | 1594 | config PHYSICAL_ALIGN |
| 1608 | hex | 1595 | hex "Alignment value to which kernel should be aligned" if X86_32 |
| 1609 | prompt "Alignment value to which kernel should be aligned" if X86_32 | ||
| 1610 | default "0x1000000" | 1596 | default "0x1000000" |
| 1611 | range 0x2000 0x1000000 | 1597 | range 0x2000 0x1000000 |
| 1612 | ---help--- | 1598 | ---help--- |
| @@ -1653,7 +1639,6 @@ config COMPAT_VDSO | |||
| 1653 | 1639 | ||
| 1654 | config CMDLINE_BOOL | 1640 | config CMDLINE_BOOL |
| 1655 | bool "Built-in kernel command line" | 1641 | bool "Built-in kernel command line" |
| 1656 | default n | ||
| 1657 | ---help--- | 1642 | ---help--- |
| 1658 | Allow for specifying boot arguments to the kernel at | 1643 | Allow for specifying boot arguments to the kernel at |
| 1659 | build time. On some systems (e.g. embedded ones), it is | 1644 | build time. On some systems (e.g. embedded ones), it is |
| @@ -1687,7 +1672,6 @@ config CMDLINE | |||
| 1687 | 1672 | ||
| 1688 | config CMDLINE_OVERRIDE | 1673 | config CMDLINE_OVERRIDE |
| 1689 | bool "Built-in command line overrides boot loader arguments" | 1674 | bool "Built-in command line overrides boot loader arguments" |
| 1690 | default n | ||
| 1691 | depends on CMDLINE_BOOL | 1675 | depends on CMDLINE_BOOL |
| 1692 | ---help--- | 1676 | ---help--- |
| 1693 | Set this option to 'Y' to have the kernel ignore the boot loader | 1677 | Set this option to 'Y' to have the kernel ignore the boot loader |
| @@ -1723,8 +1707,7 @@ source "drivers/acpi/Kconfig" | |||
| 1723 | source "drivers/sfi/Kconfig" | 1707 | source "drivers/sfi/Kconfig" |
| 1724 | 1708 | ||
| 1725 | config X86_APM_BOOT | 1709 | config X86_APM_BOOT |
| 1726 | bool | 1710 | def_bool y |
| 1727 | default y | ||
| 1728 | depends on APM || APM_MODULE | 1711 | depends on APM || APM_MODULE |
| 1729 | 1712 | ||
| 1730 | menuconfig APM | 1713 | menuconfig APM |
| @@ -1953,8 +1936,7 @@ config DMAR_DEFAULT_ON | |||
| 1953 | experimental. | 1936 | experimental. |
| 1954 | 1937 | ||
| 1955 | config DMAR_BROKEN_GFX_WA | 1938 | config DMAR_BROKEN_GFX_WA |
| 1956 | def_bool n | 1939 | bool "Workaround broken graphics drivers (going away soon)" |
| 1957 | prompt "Workaround broken graphics drivers (going away soon)" | ||
| 1958 | depends on DMAR && BROKEN | 1940 | depends on DMAR && BROKEN |
| 1959 | ---help--- | 1941 | ---help--- |
| 1960 | Current Graphics drivers tend to use physical address | 1942 | Current Graphics drivers tend to use physical address |
| @@ -2052,7 +2034,6 @@ config SCx200HR_TIMER | |||
| 2052 | config OLPC | 2034 | config OLPC |
| 2053 | bool "One Laptop Per Child support" | 2035 | bool "One Laptop Per Child support" |
| 2054 | select GPIOLIB | 2036 | select GPIOLIB |
| 2055 | default n | ||
| 2056 | ---help--- | 2037 | ---help--- |
| 2057 | Add support for detecting the unique features of the OLPC | 2038 | Add support for detecting the unique features of the OLPC |
| 2058 | XO hardware. | 2039 | XO hardware. |
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index bc01e3ebfeb2..e7edd66d866e 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
| @@ -45,7 +45,6 @@ config EARLY_PRINTK | |||
| 45 | 45 | ||
| 46 | config EARLY_PRINTK_DBGP | 46 | config EARLY_PRINTK_DBGP |
| 47 | bool "Early printk via EHCI debug port" | 47 | bool "Early printk via EHCI debug port" |
| 48 | default n | ||
| 49 | depends on EARLY_PRINTK && PCI | 48 | depends on EARLY_PRINTK && PCI |
| 50 | ---help--- | 49 | ---help--- |
| 51 | Write kernel log output directly into the EHCI debug port. | 50 | Write kernel log output directly into the EHCI debug port. |
| @@ -76,7 +75,6 @@ config DEBUG_PER_CPU_MAPS | |||
| 76 | bool "Debug access to per_cpu maps" | 75 | bool "Debug access to per_cpu maps" |
| 77 | depends on DEBUG_KERNEL | 76 | depends on DEBUG_KERNEL |
| 78 | depends on SMP | 77 | depends on SMP |
| 79 | default n | ||
| 80 | ---help--- | 78 | ---help--- |
| 81 | Say Y to verify that the per_cpu map being accessed has | 79 | Say Y to verify that the per_cpu map being accessed has |
| 82 | been setup. Adds a fair amount of code to kernel memory | 80 | been setup. Adds a fair amount of code to kernel memory |
diff --git a/arch/x86/include/asm/boot.h b/arch/x86/include/asm/boot.h index 7a1065958ba9..3b62ab56c7a0 100644 --- a/arch/x86/include/asm/boot.h +++ b/arch/x86/include/asm/boot.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | #define MIN_KERNEL_ALIGN (_AC(1, UL) << MIN_KERNEL_ALIGN_LG2) | 24 | #define MIN_KERNEL_ALIGN (_AC(1, UL) << MIN_KERNEL_ALIGN_LG2) |
| 25 | 25 | ||
| 26 | #if (CONFIG_PHYSICAL_ALIGN & (CONFIG_PHYSICAL_ALIGN-1)) || \ | 26 | #if (CONFIG_PHYSICAL_ALIGN & (CONFIG_PHYSICAL_ALIGN-1)) || \ |
| 27 | (CONFIG_PHYSICAL_ALIGN < (_AC(1, UL) << MIN_KERNEL_ALIGN_LG2)) | 27 | (CONFIG_PHYSICAL_ALIGN < MIN_KERNEL_ALIGN) |
| 28 | #error "Invalid value for CONFIG_PHYSICAL_ALIGN" | 28 | #error "Invalid value for CONFIG_PHYSICAL_ALIGN" |
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
