aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/Kconfig')
-rw-r--r--arch/i386/Kconfig86
1 files changed, 54 insertions, 32 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index 6004bb0795e0..cbde675bc95c 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -29,10 +29,6 @@ config MMU
29config SBUS 29config SBUS
30 bool 30 bool
31 31
32config UID16
33 bool
34 default y
35
36config GENERIC_ISA_DMA 32config GENERIC_ISA_DMA
37 bool 33 bool
38 default y 34 default y
@@ -45,8 +41,21 @@ config ARCH_MAY_HAVE_PC_FDC
45 bool 41 bool
46 default y 42 default y
47 43
44config DMI
45 bool
46 default y
47
48source "init/Kconfig" 48source "init/Kconfig"
49 49
50config DOUBLEFAULT
51 default y
52 bool "Enable doublefault exception handler" if EMBEDDED
53 help
54 This option allows trapping of rare doublefault exceptions that
55 would otherwise cause a system to silently reboot. Disabling this
56 option saves about 4k and might cause you much additional grey
57 hair.
58
50menu "Processor type and features" 59menu "Processor type and features"
51 60
52choice 61choice
@@ -464,7 +473,6 @@ config NUMA
464 depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI)) 473 depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI))
465 default n if X86_PC 474 default n if X86_PC
466 default y if (X86_NUMAQ || X86_SUMMIT) 475 default y if (X86_NUMAQ || X86_SUMMIT)
467 select SPARSEMEM_STATIC
468 476
469# Need comments to help the hapless user trying to turn on NUMA support 477# Need comments to help the hapless user trying to turn on NUMA support
470comment "NUMA (NUMA-Q) requires SMP, 64GB highmem support" 478comment "NUMA (NUMA-Q) requires SMP, 64GB highmem support"
@@ -493,6 +501,10 @@ config HAVE_ARCH_ALLOC_REMAP
493 depends on NUMA 501 depends on NUMA
494 default y 502 default y
495 503
504config ARCH_FLATMEM_ENABLE
505 def_bool y
506 depends on (ARCH_SELECT_MEMORY_MODEL && X86_PC)
507
496config ARCH_DISCONTIGMEM_ENABLE 508config ARCH_DISCONTIGMEM_ENABLE
497 def_bool y 509 def_bool y
498 depends on NUMA 510 depends on NUMA
@@ -503,7 +515,8 @@ config ARCH_DISCONTIGMEM_DEFAULT
503 515
504config ARCH_SPARSEMEM_ENABLE 516config ARCH_SPARSEMEM_ENABLE
505 def_bool y 517 def_bool y
506 depends on NUMA 518 depends on (NUMA || (X86_PC && EXPERIMENTAL))
519 select SPARSEMEM_STATIC
507 520
508config ARCH_SELECT_MEMORY_MODEL 521config ARCH_SELECT_MEMORY_MODEL
509 def_bool y 522 def_bool y
@@ -626,10 +639,6 @@ config REGPARM
626 and passes the first three arguments of a function call in registers. 639 and passes the first three arguments of a function call in registers.
627 This will probably break binary only modules. 640 This will probably break binary only modules.
628 641
629 This feature is only enabled for gcc-3.0 and later - earlier compilers
630 generate incorrect output with certain kernel constructs when
631 -mregparm=3 is used.
632
633config SECCOMP 642config SECCOMP
634 bool "Enable seccomp to safely compute untrusted bytecode" 643 bool "Enable seccomp to safely compute untrusted bytecode"
635 depends on PROC_FS 644 depends on PROC_FS
@@ -649,17 +658,6 @@ config SECCOMP
649 658
650source kernel/Kconfig.hz 659source kernel/Kconfig.hz
651 660
652config PHYSICAL_START
653 hex "Physical address where the kernel is loaded" if EMBEDDED
654 default "0x100000"
655 help
656 This gives the physical address where the kernel is loaded.
657 Primarily used in the case of kexec on panic where the
658 fail safe kernel needs to run at a different address than
659 the panic-ed kernel.
660
661 Don't change this unless you know what you are doing.
662
663config KEXEC 661config KEXEC
664 bool "kexec system call (EXPERIMENTAL)" 662 bool "kexec system call (EXPERIMENTAL)"
665 depends on EXPERIMENTAL 663 depends on EXPERIMENTAL
@@ -679,11 +677,40 @@ config KEXEC
679 677
680config CRASH_DUMP 678config CRASH_DUMP
681 bool "kernel crash dumps (EXPERIMENTAL)" 679 bool "kernel crash dumps (EXPERIMENTAL)"
682 depends on EMBEDDED
683 depends on EXPERIMENTAL 680 depends on EXPERIMENTAL
684 depends on HIGHMEM 681 depends on HIGHMEM
685 help 682 help
686 Generate crash dump after being started by kexec. 683 Generate crash dump after being started by kexec.
684
685config PHYSICAL_START
686 hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
687
688 default "0x1000000" if CRASH_DUMP
689 default "0x100000"
690 help
691 This gives the physical address where the kernel is loaded. Normally
692 for regular kernels this value is 0x100000 (1MB). But in the case
693 of kexec on panic the fail safe kernel needs to run at a different
694 address than the panic-ed kernel. This option is used to set the load
695 address for kernels used to capture crash dump on being kexec'ed
696 after panic. The default value for crash dump kernels is
697 0x1000000 (16MB). This can also be set based on the "X" value as
698 specified in the "crashkernel=YM@XM" command line boot parameter
699 passed to the panic-ed kernel. Typically this parameter is set as
700 crashkernel=64M@16M. Please take a look at
701 Documentation/kdump/kdump.txt for more details about crash dumps.
702
703 Don't change this unless you know what you are doing.
704
705config HOTPLUG_CPU
706 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
707 depends on SMP && HOTPLUG && EXPERIMENTAL
708 ---help---
709 Say Y here to experiment with turning CPUs off and on. CPUs
710 can be controlled through /sys/devices/system/cpu.
711
712 Say N.
713
687endmenu 714endmenu
688 715
689 716
@@ -699,7 +726,7 @@ depends on PM && !X86_VISWS
699 726
700config APM 727config APM
701 tristate "APM (Advanced Power Management) BIOS support" 728 tristate "APM (Advanced Power Management) BIOS support"
702 depends on PM && PM_LEGACY 729 depends on PM
703 ---help--- 730 ---help---
704 APM is a BIOS specification for saving power using several different 731 APM is a BIOS specification for saving power using several different
705 techniques. This is mostly useful for battery powered laptops with 732 techniques. This is mostly useful for battery powered laptops with
@@ -970,15 +997,6 @@ config SCx200
970 This support is also available as a module. If compiled as a 997 This support is also available as a module. If compiled as a
971 module, it will be called scx200. 998 module, it will be called scx200.
972 999
973config HOTPLUG_CPU
974 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
975 depends on SMP && HOTPLUG && EXPERIMENTAL
976 ---help---
977 Say Y here to experiment with turning CPUs off and on. CPUs
978 can be controlled through /sys/devices/system/cpu.
979
980 Say N.
981
982source "drivers/pcmcia/Kconfig" 1000source "drivers/pcmcia/Kconfig"
983 1001
984source "drivers/pci/hotplug/Kconfig" 1002source "drivers/pci/hotplug/Kconfig"
@@ -1055,3 +1073,7 @@ config X86_TRAMPOLINE
1055 bool 1073 bool
1056 depends on X86_SMP || (X86_VOYAGER && SMP) 1074 depends on X86_SMP || (X86_VOYAGER && SMP)
1057 default y 1075 default y
1076
1077config KTIME_SCALAR
1078 bool
1079 default y