浏览代码

[PATCH] fix EMBEDDED + SYSCTL menu

SYSCTL should still depend on EMBEDDED.  This unbreaks the EMBEDDED menu
(from the recent SYSCTL_SYCALL menu option patch).

Fix typos in new SYSCTL_SYSCALL menu.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Randy Dunlap 18 年之前
父节点
当前提交
0847062ad5
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      init/Kconfig

+ 7 - 7
init/Kconfig

@@ -257,6 +257,9 @@ config CC_OPTIMIZE_FOR_SIZE
 
 
 	  If unsure, say N.
 	  If unsure, say N.
 
 
+config SYSCTL
+	bool
+
 menuconfig EMBEDDED
 menuconfig EMBEDDED
 	bool "Configure standard kernel features (for small systems)"
 	bool "Configure standard kernel features (for small systems)"
 	help
 	help
@@ -272,11 +275,8 @@ config UID16
 	help
 	help
 	  This enables the legacy 16-bit UID syscall wrappers.
 	  This enables the legacy 16-bit UID syscall wrappers.
 
 
-config SYSCTL
-	bool
-
 config SYSCTL_SYSCALL
 config SYSCTL_SYSCALL
-	bool "Sysctl syscall support"
+	bool "Sysctl syscall support" if EMBEDDED
 	default n
 	default n
 	select SYSCTL
 	select SYSCTL
 	---help---
 	---help---
@@ -285,11 +285,11 @@ config SYSCTL_SYSCALL
 	  and use.  The interface in /proc/sys is now the primary and what
 	  and use.  The interface in /proc/sys is now the primary and what
 	  everyone uses.
 	  everyone uses.
 
 
-	  Nothing has been using the binary sysctl interface for some time
+	  Nothing has been using the binary sysctl interface for some
 	  time now so nothing should break if you disable sysctl syscall
 	  time now so nothing should break if you disable sysctl syscall
-	  support, and you kernel will get marginally smaller.
+	  support, and your kernel will get marginally smaller.
 
 
-	  Unless you have an application that uses the sys_syscall interface
+	  Unless you have an application that uses the sys_sysctl interface
  	  you should probably say N here.
  	  you should probably say N here.
 
 
 config KALLSYMS
 config KALLSYMS