diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-11-06 17:30:30 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-11-12 15:02:19 -0500 |
commit | 8d5fffb928cd86a70823f66f8335fa41709ec109 (patch) | |
tree | 43ca642a71ff46f71d62adc0a8e0d903f3afef3f /arch/x86/Kconfig | |
parent | bc0120fdb4798421a577630bf5cbd77fc2d6661d (diff) |
x86: move all simple arch settings to Kconfig
Most of the arch settings were equal so combine them
in the first part of Kconfig.
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/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 9fbb049950d1..d47b5a2e4a32 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1,6 +1,86 @@ | |||
1 | # x86 configuration | 1 | # x86 configuration |
2 | 2 | ||
3 | ### Arch settings | 3 | ### Arch settings |
4 | config X86 | ||
5 | bool | ||
6 | default y | ||
7 | |||
8 | config 64BIT | ||
9 | def_bool X86_64 | ||
10 | |||
11 | config GENERIC_TIME | ||
12 | bool | ||
13 | default y | ||
14 | |||
15 | config GENERIC_CMOS_UPDATE | ||
16 | bool | ||
17 | default y | ||
18 | |||
19 | config CLOCKSOURCE_WATCHDOG | ||
20 | bool | ||
21 | default y | ||
22 | |||
23 | config GENERIC_CLOCKEVENTS | ||
24 | bool | ||
25 | default y | ||
26 | |||
27 | config GENERIC_CLOCKEVENTS_BROADCAST | ||
28 | bool | ||
29 | default y | ||
30 | depends on X86_64 || (X86_32 && X86_LOCAL_APIC) | ||
31 | |||
32 | config LOCKDEP_SUPPORT | ||
33 | bool | ||
34 | default y | ||
35 | |||
36 | config STACKTRACE_SUPPORT | ||
37 | bool | ||
38 | default y | ||
39 | |||
40 | config SEMAPHORE_SLEEPERS | ||
41 | bool | ||
42 | default y | ||
43 | |||
44 | config MMU | ||
45 | bool | ||
46 | default y | ||
47 | |||
48 | config ZONE_DMA | ||
49 | bool | ||
50 | default y | ||
51 | |||
52 | config QUICKLIST | ||
53 | bool | ||
54 | default X86_32 | ||
55 | |||
56 | config SBUS | ||
57 | bool | ||
58 | |||
59 | config GENERIC_ISA_DMA | ||
60 | bool | ||
61 | default y | ||
62 | |||
63 | config GENERIC_IOMAP | ||
64 | bool | ||
65 | default y | ||
66 | |||
67 | config GENERIC_BUG | ||
68 | bool | ||
69 | default y | ||
70 | depends on BUG | ||
71 | |||
72 | config GENERIC_HWEIGHT | ||
73 | bool | ||
74 | default y | ||
75 | |||
76 | config ARCH_MAY_HAVE_PC_FDC | ||
77 | bool | ||
78 | default y | ||
79 | |||
80 | config DMI | ||
81 | bool | ||
82 | default y | ||
83 | |||
4 | config RWSEM_GENERIC_SPINLOCK | 84 | config RWSEM_GENERIC_SPINLOCK |
5 | def_bool !X86_XADD | 85 | def_bool !X86_XADD |
6 | 86 | ||
@@ -16,6 +96,62 @@ config ARCH_HAS_ILOG2_U64 | |||
16 | config GENERIC_CALIBRATE_DELAY | 96 | config GENERIC_CALIBRATE_DELAY |
17 | def_bool y | 97 | def_bool y |
18 | 98 | ||
99 | config GENERIC_TIME_VSYSCALL | ||
100 | bool | ||
101 | default X86_64 | ||
102 | |||
103 | |||
104 | |||
105 | |||
106 | |||
107 | config ZONE_DMA32 | ||
108 | bool | ||
109 | default X86_64 | ||
110 | |||
111 | config ARCH_POPULATES_NODE_MAP | ||
112 | def_bool y | ||
113 | |||
114 | config AUDIT_ARCH | ||
115 | bool | ||
116 | default X86_64 | ||
117 | |||
118 | # Use the generic interrupt handling code in kernel/irq/: | ||
119 | config GENERIC_HARDIRQS | ||
120 | bool | ||
121 | default y | ||
122 | |||
123 | config GENERIC_IRQ_PROBE | ||
124 | bool | ||
125 | default y | ||
126 | |||
127 | config GENERIC_PENDING_IRQ | ||
128 | bool | ||
129 | depends on GENERIC_HARDIRQS && SMP | ||
130 | default y | ||
131 | |||
132 | config X86_SMP | ||
133 | bool | ||
134 | depends on X86_32 && SMP && !X86_VOYAGER | ||
135 | default y | ||
136 | |||
137 | config X86_HT | ||
138 | bool | ||
139 | depends on SMP && !(X86_VISWS || X86_VOYAGER || MK8) | ||
140 | default y | ||
141 | |||
142 | config X86_BIOS_REBOOT | ||
143 | bool | ||
144 | depends on X86_32 && !(X86_VISWS || X86_VOYAGER) | ||
145 | default y | ||
146 | |||
147 | config X86_TRAMPOLINE | ||
148 | bool | ||
149 | depends on X86_SMP || (X86_VOYAGER && SMP) | ||
150 | default y | ||
151 | |||
152 | config KTIME_SCALAR | ||
153 | def_bool X86_32 | ||
154 | |||
19 | 155 | ||
20 | menu "Power management options" | 156 | menu "Power management options" |
21 | depends on !X86_VOYAGER | 157 | depends on !X86_VOYAGER |