Commit ae81f9e3 authored by Chuck Ebbert's avatar Chuck Ebbert Committed by Linus Torvalds

[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: default avatarChuck 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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7f9d77d7
...@@ -182,23 +182,6 @@ config TASK_DELAY_ACCT ...@@ -182,23 +182,6 @@ config TASK_DELAY_ACCT
Say N if unsure. Say N if unsure.
config SYSCTL
bool "Sysctl support" if EMBEDDED
default y
---help---
The sysctl interface provides a means of dynamically changing
certain kernel parameters and variables on the fly without requiring
a recompile of the kernel or reboot of the system. The primary
interface consists of a system call, but if you say Y to "/proc
file system support", a tree of modifiable sysctl entries will be
generated beneath the /proc/sys directory. They are explained in the
files in <file:Documentation/sysctl/>. Note that enabling this
option will enlarge the kernel by at least 8 KB.
As it is generally a good thing, you should say Y here unless
building a kernel for install/rescue disks or your system is very
limited in memory.
config AUDIT config AUDIT
bool "Auditing support" bool "Auditing support"
depends on NET depends on NET
...@@ -261,13 +244,6 @@ config RELAY ...@@ -261,13 +244,6 @@ config RELAY
source "usr/Kconfig" source "usr/Kconfig"
config UID16
bool "Enable 16-bit UID system calls" if EMBEDDED
depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
default y
help
This enables the legacy 16-bit UID syscall wrappers.
config CC_OPTIMIZE_FOR_SIZE config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size (Look out for broken compilers!)" bool "Optimize for size (Look out for broken compilers!)"
default y default y
...@@ -289,6 +265,30 @@ menuconfig EMBEDDED ...@@ -289,6 +265,30 @@ menuconfig EMBEDDED
environments which can tolerate a "non-standard" kernel. environments which can tolerate a "non-standard" kernel.
Only use this if you really know what you are doing. Only use this if you really know what you are doing.
config UID16
bool "Enable 16-bit UID system calls" if EMBEDDED
depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
default y
help
This enables the legacy 16-bit UID syscall wrappers.
config SYSCTL
bool "Sysctl support" if EMBEDDED
default y
---help---
The sysctl interface provides a means of dynamically changing
certain kernel parameters and variables on the fly without requiring
a recompile of the kernel or reboot of the system. The primary
interface consists of a system call, but if you say Y to "/proc
file system support", a tree of modifiable sysctl entries will be
generated beneath the /proc/sys directory. They are explained in the
files in <file:Documentation/sysctl/>. Note that enabling this
option will enlarge the kernel by at least 8 KB.
As it is generally a good thing, you should say Y here unless
building a kernel for install/rescue disks or your system is very
limited in memory.
config KALLSYMS config KALLSYMS
bool "Load all symbols for debugging/kksymoops" if EMBEDDED bool "Load all symbols for debugging/kksymoops" if EMBEDDED
default y default y
...@@ -363,10 +363,6 @@ config BASE_FULL ...@@ -363,10 +363,6 @@ config BASE_FULL
kernel data structures. This saves memory on small machines, kernel data structures. This saves memory on small machines,
but may reduce performance. but may reduce performance.
config RT_MUTEXES
boolean
select PLIST
config FUTEX config FUTEX
bool "Enable futex support" if EMBEDDED bool "Enable futex support" if EMBEDDED
default y default y
...@@ -414,6 +410,10 @@ config VM_EVENT_COUNTERS ...@@ -414,6 +410,10 @@ config VM_EVENT_COUNTERS
endmenu # General setup endmenu # General setup
config RT_MUTEXES
boolean
select PLIST
config TINY_SHMEM config TINY_SHMEM
default !SHMEM default !SHMEM
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment