diff options
-rw-r--r-- | arch/x86/Kconfig.x86_64 | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/arch/x86/Kconfig.x86_64 b/arch/x86/Kconfig.x86_64 index cdd1458202f1..36bb856f5a3f 100644 --- a/arch/x86/Kconfig.x86_64 +++ b/arch/x86/Kconfig.x86_64 | |||
@@ -18,7 +18,7 @@ config X86_64 | |||
18 | <http://www.x86-64.org/>. | 18 | <http://www.x86-64.org/>. |
19 | 19 | ||
20 | config 64BIT | 20 | config 64BIT |
21 | def_bool y | 21 | def_bool X86_64 |
22 | 22 | ||
23 | config X86 | 23 | config X86 |
24 | bool | 24 | bool |
@@ -129,7 +129,7 @@ config X86_PC | |||
129 | 129 | ||
130 | config X86_VSMP | 130 | config X86_VSMP |
131 | bool "Support for ScaleMP vSMP" | 131 | bool "Support for ScaleMP vSMP" |
132 | depends on PCI | 132 | depends on X86_64 && PCI |
133 | help | 133 | help |
134 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is | 134 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is |
135 | supposed to run on these EM64T-based machines. Only choose this option | 135 | supposed to run on these EM64T-based machines. Only choose this option |
@@ -275,7 +275,7 @@ config NUMA | |||
275 | 275 | ||
276 | config K8_NUMA | 276 | config K8_NUMA |
277 | bool "Old style AMD Opteron NUMA detection" | 277 | bool "Old style AMD Opteron NUMA detection" |
278 | depends on NUMA && PCI | 278 | depends on X86_64 && NUMA && PCI |
279 | default y | 279 | default y |
280 | help | 280 | help |
281 | Enable K8 NUMA node topology detection. You should say Y here if | 281 | Enable K8 NUMA node topology detection. You should say Y here if |
@@ -286,14 +286,14 @@ config K8_NUMA | |||
286 | 286 | ||
287 | config NODES_SHIFT | 287 | config NODES_SHIFT |
288 | int | 288 | int |
289 | default "6" | 289 | default "6" if X86_64 |
290 | depends on NEED_MULTIPLE_NODES | 290 | depends on NEED_MULTIPLE_NODES |
291 | 291 | ||
292 | # Dummy CONFIG option to select ACPI_NUMA from drivers/acpi/Kconfig. | 292 | # Dummy CONFIG option to select ACPI_NUMA from drivers/acpi/Kconfig. |
293 | 293 | ||
294 | config X86_64_ACPI_NUMA | 294 | config X86_64_ACPI_NUMA |
295 | bool "ACPI NUMA detection" | 295 | bool "ACPI NUMA detection" |
296 | depends on NUMA | 296 | depends on X86_64 && NUMA |
297 | select ACPI | 297 | select ACPI |
298 | select PCI | 298 | select PCI |
299 | select ACPI_NUMA | 299 | select ACPI_NUMA |
@@ -303,7 +303,7 @@ config X86_64_ACPI_NUMA | |||
303 | 303 | ||
304 | config NUMA_EMU | 304 | config NUMA_EMU |
305 | bool "NUMA emulation" | 305 | bool "NUMA emulation" |
306 | depends on NUMA | 306 | depends on X86_64 && NUMA |
307 | help | 307 | help |
308 | Enable NUMA emulation. A flat machine will be split | 308 | Enable NUMA emulation. A flat machine will be split |
309 | into virtual nodes when booted with "numa=fake=N", where N is the | 309 | into virtual nodes when booted with "numa=fake=N", where N is the |
@@ -324,7 +324,7 @@ config ARCH_SPARSEMEM_ENABLE | |||
324 | select SPARSEMEM_VMEMMAP_ENABLE | 324 | select SPARSEMEM_VMEMMAP_ENABLE |
325 | 325 | ||
326 | config ARCH_MEMORY_PROBE | 326 | config ARCH_MEMORY_PROBE |
327 | def_bool y | 327 | def_bool X86_64 |
328 | depends on MEMORY_HOTPLUG | 328 | depends on MEMORY_HOTPLUG |
329 | 329 | ||
330 | config ARCH_FLATMEM_ENABLE | 330 | config ARCH_FLATMEM_ENABLE |
@@ -334,15 +334,15 @@ config ARCH_FLATMEM_ENABLE | |||
334 | source "mm/Kconfig" | 334 | source "mm/Kconfig" |
335 | 335 | ||
336 | config MEMORY_HOTPLUG_RESERVE | 336 | config MEMORY_HOTPLUG_RESERVE |
337 | def_bool y | 337 | def_bool X86_64 |
338 | depends on (MEMORY_HOTPLUG && DISCONTIGMEM) | 338 | depends on (MEMORY_HOTPLUG && DISCONTIGMEM) |
339 | 339 | ||
340 | config HAVE_ARCH_EARLY_PFN_TO_NID | 340 | config HAVE_ARCH_EARLY_PFN_TO_NID |
341 | def_bool y | 341 | def_bool X86_64 |
342 | depends on NUMA | 342 | depends on NUMA |
343 | 343 | ||
344 | config OUT_OF_LINE_PFN_TO_PAGE | 344 | config OUT_OF_LINE_PFN_TO_PAGE |
345 | def_bool y | 345 | def_bool X86_64 |
346 | depends on DISCONTIGMEM | 346 | depends on DISCONTIGMEM |
347 | 347 | ||
348 | config NR_CPUS | 348 | config NR_CPUS |
@@ -360,7 +360,7 @@ config NR_CPUS | |||
360 | 360 | ||
361 | config PHYSICAL_ALIGN | 361 | config PHYSICAL_ALIGN |
362 | hex | 362 | hex |
363 | default "0x200000" | 363 | default "0x200000" if X86_64 |
364 | 364 | ||
365 | config HOTPLUG_CPU | 365 | config HOTPLUG_CPU |
366 | bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)" | 366 | bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)" |
@@ -399,7 +399,7 @@ config GART_IOMMU | |||
399 | default y | 399 | default y |
400 | select SWIOTLB | 400 | select SWIOTLB |
401 | select AGP | 401 | select AGP |
402 | depends on PCI | 402 | depends on X86_64 && PCI |
403 | help | 403 | help |
404 | Support for full DMA access of devices with 32bit memory access only | 404 | Support for full DMA access of devices with 32bit memory access only |
405 | on systems with more than 3GB. This is usually needed for USB, | 405 | on systems with more than 3GB. This is usually needed for USB, |
@@ -414,7 +414,7 @@ config GART_IOMMU | |||
414 | config CALGARY_IOMMU | 414 | config CALGARY_IOMMU |
415 | bool "IBM Calgary IOMMU support" | 415 | bool "IBM Calgary IOMMU support" |
416 | select SWIOTLB | 416 | select SWIOTLB |
417 | depends on PCI && EXPERIMENTAL | 417 | depends on X86_64 && PCI && EXPERIMENTAL |
418 | help | 418 | help |
419 | Support for hardware IOMMUs in IBM's xSeries x366 and x460 | 419 | Support for hardware IOMMUs in IBM's xSeries x366 and x460 |
420 | systems. Needed to run systems with more than 3GB of memory | 420 | systems. Needed to run systems with more than 3GB of memory |
@@ -461,7 +461,7 @@ config X86_MCE | |||
461 | 461 | ||
462 | config X86_MCE_INTEL | 462 | config X86_MCE_INTEL |
463 | bool "Intel MCE features" | 463 | bool "Intel MCE features" |
464 | depends on X86_MCE && X86_LOCAL_APIC | 464 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC |
465 | default y | 465 | default y |
466 | help | 466 | help |
467 | Additional support for intel specific MCE features such as | 467 | Additional support for intel specific MCE features such as |
@@ -469,7 +469,7 @@ config X86_MCE_INTEL | |||
469 | 469 | ||
470 | config X86_MCE_AMD | 470 | config X86_MCE_AMD |
471 | bool "AMD MCE features" | 471 | bool "AMD MCE features" |
472 | depends on X86_MCE && X86_LOCAL_APIC | 472 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC |
473 | default y | 473 | default y |
474 | help | 474 | help |
475 | Additional support for AMD specific MCE features such as | 475 | Additional support for AMD specific MCE features such as |
@@ -576,7 +576,7 @@ config SECCOMP | |||
576 | 576 | ||
577 | config CC_STACKPROTECTOR | 577 | config CC_STACKPROTECTOR |
578 | bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)" | 578 | bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)" |
579 | depends on EXPERIMENTAL | 579 | depends on X86_64 && EXPERIMENTAL |
580 | help | 580 | help |
581 | This option turns on the -fstack-protector GCC feature. This | 581 | This option turns on the -fstack-protector GCC feature. This |
582 | feature puts, at the beginning of critical functions, a canary | 582 | feature puts, at the beginning of critical functions, a canary |
@@ -601,7 +601,7 @@ config CC_STACKPROTECTOR_ALL | |||
601 | source kernel/Kconfig.hz | 601 | source kernel/Kconfig.hz |
602 | 602 | ||
603 | config K8_NB | 603 | config K8_NB |
604 | def_bool y | 604 | def_bool X86_64 |
605 | depends on AGP_AMD64 || GART_IOMMU || (PCI && NUMA) | 605 | depends on AGP_AMD64 || GART_IOMMU || (PCI && NUMA) |
606 | 606 | ||
607 | endmenu | 607 | endmenu |