diff options
author | Chuck Ebbert <76306.1226@compuserve.com> | 2006-09-16 15:15:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-16 15:54:32 -0400 |
commit | ae81f9e3791a30fc2dcfb38b7733b423f24571f7 (patch) | |
tree | db7a53d6a0e9d1f7b791626994d1d392ca1e8a06 /init | |
parent | 7f9d77d75895c0d7e326d75263af21d7e2759879 (diff) |
[PATCH] Kconfig: move CONFIG_EMBEDDED options to submenu
Fix two problems with the CONFIG_EMBEDDED submenu:
(1) The menu was split in two by the rt_mutex patch, which moved
half the items into the "General setup" menu.
(2) CONFIG_SYSCTL and CONFIG_UID16 were added to the main menu
instead of the submenu.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/init/Kconfig b/init/Kconfig index a099fc6526d..9a7656f0b5e 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -182,23 +182,6 @@ config TASK_DELAY_ACCT | |||
182 | 182 | ||
183 | Say N if unsure. | 183 | Say N if unsure. |
184 | 184 | ||
185 | config SYSCTL | ||
186 | bool "Sysctl support" if EMBEDDED | ||
187 | default y | ||
188 | ---help--- | ||
189 | The sysctl interface provides a means of dynamically changing | ||
190 | certain kernel parameters and variables on the fly without requiring | ||
191 | a recompile of the kernel or reboot of the system. The primary | ||
192 | interface consists of a system call, but if you say Y to "/proc | ||
193 | file system support", a tree of modifiable sysctl entries will be | ||
194 | generated beneath the /proc/sys directory. They are explained in the | ||
195 | files in <file:Documentation/sysctl/>. Note that enabling this | ||
196 | option will enlarge the kernel by at least 8 KB. | ||
197 | |||
198 | As it is generally a good thing, you should say Y here unless | ||
199 | building a kernel for install/rescue disks or your system is very | ||
200 | limited in memory. | ||
201 | |||
202 | config AUDIT | 185 | config AUDIT |
203 | bool "Auditing support" | 186 | bool "Auditing support" |
204 | depends on NET | 187 | depends on NET |
@@ -261,13 +244,6 @@ config RELAY | |||
261 | 244 | ||
262 | source "usr/Kconfig" | 245 | source "usr/Kconfig" |
263 | 246 | ||
264 | config UID16 | ||
265 | bool "Enable 16-bit UID system calls" if EMBEDDED | ||
266 | depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION) | ||
267 | default y | ||
268 | help | ||
269 | This enables the legacy 16-bit UID syscall wrappers. | ||
270 | |||
271 | config CC_OPTIMIZE_FOR_SIZE | 247 | config CC_OPTIMIZE_FOR_SIZE |
272 | bool "Optimize for size (Look out for broken compilers!)" | 248 | bool "Optimize for size (Look out for broken compilers!)" |
273 | default y | 249 | default y |
@@ -289,6 +265,30 @@ menuconfig EMBEDDED | |||
289 | environments which can tolerate a "non-standard" kernel. | 265 | environments which can tolerate a "non-standard" kernel. |
290 | Only use this if you really know what you are doing. | 266 | Only use this if you really know what you are doing. |
291 | 267 | ||
268 | config UID16 | ||
269 | bool "Enable 16-bit UID system calls" if EMBEDDED | ||
270 | depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION) | ||
271 | default y | ||
272 | help | ||
273 | This enables the legacy 16-bit UID syscall wrappers. | ||
274 | |||
275 | config SYSCTL | ||
276 | bool "Sysctl support" if EMBEDDED | ||
277 | default y | ||
278 | ---help--- | ||
279 | The sysctl interface provides a means of dynamically changing | ||
280 | certain kernel parameters and variables on the fly without requiring | ||
281 | a recompile of the kernel or reboot of the system. The primary | ||
282 | interface consists of a system call, but if you say Y to "/proc | ||
283 | file system support", a tree of modifiable sysctl entries will be | ||
284 | generated beneath the /proc/sys directory. They are explained in the | ||
285 | files in <file:Documentation/sysctl/>. Note that enabling this | ||
286 | option will enlarge the kernel by at least 8 KB. | ||
287 | |||
288 | As it is generally a good thing, you should say Y here unless | ||
289 | building a kernel for install/rescue disks or your system is very | ||
290 | limited in memory. | ||
291 | |||
292 | config KALLSYMS | 292 | config KALLSYMS |
293 | bool "Load all symbols for debugging/kksymoops" if EMBEDDED | 293 | bool "Load all symbols for debugging/kksymoops" if EMBEDDED |
294 | default y | 294 | default y |
@@ -363,10 +363,6 @@ config BASE_FULL | |||
363 | kernel data structures. This saves memory on small machines, | 363 | kernel data structures. This saves memory on small machines, |
364 | but may reduce performance. | 364 | but may reduce performance. |
365 | 365 | ||
366 | config RT_MUTEXES | ||
367 | boolean | ||
368 | select PLIST | ||
369 | |||
370 | config FUTEX | 366 | config FUTEX |
371 | bool "Enable futex support" if EMBEDDED | 367 | bool "Enable futex support" if EMBEDDED |
372 | default y | 368 | default y |
@@ -414,6 +410,10 @@ config VM_EVENT_COUNTERS | |||
414 | 410 | ||
415 | endmenu # General setup | 411 | endmenu # General setup |
416 | 412 | ||
413 | config RT_MUTEXES | ||
414 | boolean | ||
415 | select PLIST | ||
416 | |||
417 | config TINY_SHMEM | 417 | config TINY_SHMEM |
418 | default !SHMEM | 418 | default !SHMEM |
419 | bool | 419 | bool |