diff options
Diffstat (limited to 'arch/sparc64/Kconfig')
-rw-r--r-- | arch/sparc64/Kconfig | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index fca9246470b1..7c88263256af 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig | |||
@@ -16,6 +16,7 @@ config SPARC64 | |||
16 | select HAVE_IDE | 16 | select HAVE_IDE |
17 | select HAVE_LMB | 17 | select HAVE_LMB |
18 | select HAVE_ARCH_KGDB | 18 | select HAVE_ARCH_KGDB |
19 | select USE_GENERIC_SMP_HELPERS if SMP | ||
19 | 20 | ||
20 | config GENERIC_TIME | 21 | config GENERIC_TIME |
21 | bool | 22 | bool |
@@ -81,6 +82,10 @@ config GENERIC_HARDIRQS_NO__DO_IRQ | |||
81 | bool | 82 | bool |
82 | def_bool y | 83 | def_bool y |
83 | 84 | ||
85 | source "init/Kconfig" | ||
86 | |||
87 | menu "Processor type and features" | ||
88 | |||
84 | choice | 89 | choice |
85 | prompt "Kernel page size" | 90 | prompt "Kernel page size" |
86 | default SPARC64_PAGE_SIZE_8KB | 91 | default SPARC64_PAGE_SIZE_8KB |
@@ -93,19 +98,11 @@ config SPARC64_PAGE_SIZE_8KB | |||
93 | 8KB and 64KB work quite well, since SPARC ELF sections | 98 | 8KB and 64KB work quite well, since SPARC ELF sections |
94 | provide for up to 64KB alignment. | 99 | provide for up to 64KB alignment. |
95 | 100 | ||
96 | Therefore, 512KB and 4MB are for expert hackers only. | ||
97 | |||
98 | If you don't know what to do, choose 8KB. | 101 | If you don't know what to do, choose 8KB. |
99 | 102 | ||
100 | config SPARC64_PAGE_SIZE_64KB | 103 | config SPARC64_PAGE_SIZE_64KB |
101 | bool "64KB" | 104 | bool "64KB" |
102 | 105 | ||
103 | config SPARC64_PAGE_SIZE_512KB | ||
104 | bool "512KB" | ||
105 | |||
106 | config SPARC64_PAGE_SIZE_4MB | ||
107 | bool "4MB" | ||
108 | |||
109 | endchoice | 106 | endchoice |
110 | 107 | ||
111 | config SECCOMP | 108 | config SECCOMP |
@@ -136,14 +133,10 @@ config HOTPLUG_CPU | |||
136 | can be controlled through /sys/devices/system/cpu/cpu#. | 133 | can be controlled through /sys/devices/system/cpu/cpu#. |
137 | Say N if you want to disable CPU hotplug. | 134 | Say N if you want to disable CPU hotplug. |
138 | 135 | ||
139 | source "init/Kconfig" | ||
140 | |||
141 | config GENERIC_HARDIRQS | 136 | config GENERIC_HARDIRQS |
142 | bool | 137 | bool |
143 | default y | 138 | default y |
144 | 139 | ||
145 | menu "General machine setup" | ||
146 | |||
147 | source "kernel/time/Kconfig" | 140 | source "kernel/time/Kconfig" |
148 | 141 | ||
149 | config SMP | 142 | config SMP |
@@ -225,11 +218,10 @@ config HUGETLB_PAGE_SIZE_4MB | |||
225 | bool "4MB" | 218 | bool "4MB" |
226 | 219 | ||
227 | config HUGETLB_PAGE_SIZE_512K | 220 | config HUGETLB_PAGE_SIZE_512K |
228 | depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB | ||
229 | bool "512K" | 221 | bool "512K" |
230 | 222 | ||
231 | config HUGETLB_PAGE_SIZE_64K | 223 | config HUGETLB_PAGE_SIZE_64K |
232 | depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB | 224 | depends on !SPARC64_PAGE_SIZE_64KB |
233 | bool "64K" | 225 | bool "64K" |
234 | 226 | ||
235 | endchoice | 227 | endchoice |