kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT
The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option is used to configure any non-standard kernel with a much larger scope than only small devices. This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes references to the option throughout the kernel. A new CONFIG_EMBEDDED option is added that automatically selects CONFIG_EXPERT when enabled and can be used in the future to isolate options that should only be considered for embedded systems (RISC architectures, SLOB, etc). Calling the option "EXPERT" more accurately represents its intention: only expert users who understand the impact of the configuration changes they are making should enable it. Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: David Woodhouse <david.woodhouse@intel.com> Signed-off-by: David Rientjes <rientjes@google.com> Cc: Greg KH <gregkh@suse.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jens Axboe <axboe@kernel.dk> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Robin Holt <holt@sgi.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
12fcdba1b7
commit
6a108a14fa
@@ -1,5 +1,5 @@
|
||||
config PROC_FS
|
||||
bool "/proc file system support" if EMBEDDED
|
||||
bool "/proc file system support" if EXPERT
|
||||
default y
|
||||
help
|
||||
This is a virtual file system providing information about the status
|
||||
@@ -40,7 +40,7 @@ config PROC_VMCORE
|
||||
Exports the dump image of crashed kernel in ELF format.
|
||||
|
||||
config PROC_SYSCTL
|
||||
bool "Sysctl support (/proc/sys)" if EMBEDDED
|
||||
bool "Sysctl support (/proc/sys)" if EXPERT
|
||||
depends on PROC_FS
|
||||
select SYSCTL
|
||||
default y
|
||||
@@ -61,7 +61,7 @@ config PROC_SYSCTL
|
||||
config PROC_PAGE_MONITOR
|
||||
default y
|
||||
depends on PROC_FS && MMU
|
||||
bool "Enable /proc page monitoring" if EMBEDDED
|
||||
bool "Enable /proc page monitoring" if EXPERT
|
||||
help
|
||||
Various /proc files exist to monitor process memory utilization:
|
||||
/proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
|
||||
|
Reference in New Issue
Block a user