aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-11-06 16:12:16 -0500
committerSam Ravnborg <sam@ravnborg.org>2007-11-12 15:02:19 -0500
commitd2cacbcfaab96adfaea8d33241ed9ef4b8a5ce02 (patch)
treeef8c957b9dae8a4c6803a468f1dd604421f05d85 /arch
parent012c6c72275e66f4e52ae2df629f53a8d127e39f (diff)
x86: add X86_64 dependency to x86_64 specific symbols in Kconfig.x86_64
To ease unification of Kconfig.i386 and Kconfig.x86_64 add X86_64 dependencies to all x86_64 specific symbols. This patch introduce no functional changes but is one step towards unification. This smaller step is used to ease review of the patch set. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig.x86_6434
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
20config 64BIT 20config 64BIT
21 def_bool y 21 def_bool X86_64
22 22
23config X86 23config X86
24 bool 24 bool
@@ -129,7 +129,7 @@ config X86_PC
129 129
130config X86_VSMP 130config 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
276config K8_NUMA 276config 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
287config NODES_SHIFT 287config 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
294config X86_64_ACPI_NUMA 294config 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
304config NUMA_EMU 304config 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
326config ARCH_MEMORY_PROBE 326config ARCH_MEMORY_PROBE
327 def_bool y 327 def_bool X86_64
328 depends on MEMORY_HOTPLUG 328 depends on MEMORY_HOTPLUG
329 329
330config ARCH_FLATMEM_ENABLE 330config ARCH_FLATMEM_ENABLE
@@ -334,15 +334,15 @@ config ARCH_FLATMEM_ENABLE
334source "mm/Kconfig" 334source "mm/Kconfig"
335 335
336config MEMORY_HOTPLUG_RESERVE 336config 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
340config HAVE_ARCH_EARLY_PFN_TO_NID 340config 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
344config OUT_OF_LINE_PFN_TO_PAGE 344config 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
348config NR_CPUS 348config NR_CPUS
@@ -360,7 +360,7 @@ config NR_CPUS
360 360
361config PHYSICAL_ALIGN 361config PHYSICAL_ALIGN
362 hex 362 hex
363 default "0x200000" 363 default "0x200000" if X86_64
364 364
365config HOTPLUG_CPU 365config 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
414config CALGARY_IOMMU 414config 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
462config X86_MCE_INTEL 462config 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
470config X86_MCE_AMD 470config 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
577config CC_STACKPROTECTOR 577config 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
601source kernel/Kconfig.hz 601source kernel/Kconfig.hz
602 602
603config K8_NB 603config 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
607endmenu 607endmenu