aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig60
1 files changed, 34 insertions, 26 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 4e337906016..be788c0957d 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -745,8 +745,8 @@ config DEBUG_BLK_CGROUP
745endif # CGROUPS 745endif # CGROUPS
746 746
747menuconfig NAMESPACES 747menuconfig NAMESPACES
748 bool "Namespaces support" if EMBEDDED 748 bool "Namespaces support" if EXPERT
749 default !EMBEDDED 749 default !EXPERT
750 help 750 help
751 Provides the way to make tasks work with different objects using 751 Provides the way to make tasks work with different objects using
752 the same id. For example same IPC id may refer to different objects 752 the same id. For example same IPC id may refer to different objects
@@ -899,23 +899,31 @@ config SYSCTL
899config ANON_INODES 899config ANON_INODES
900 bool 900 bool
901 901
902menuconfig EMBEDDED 902menuconfig EXPERT
903 bool "Configure standard kernel features (for small systems)" 903 bool "Configure standard kernel features (expert users)"
904 help 904 help
905 This option allows certain base kernel options and settings 905 This option allows certain base kernel options and settings
906 to be disabled or tweaked. This is for specialized 906 to be disabled or tweaked. This is for specialized
907 environments which can tolerate a "non-standard" kernel. 907 environments which can tolerate a "non-standard" kernel.
908 Only use this if you really know what you are doing. 908 Only use this if you really know what you are doing.
909 909
910config EMBEDDED
911 bool "Embedded system"
912 select EXPERT
913 help
914 This option should be enabled if compiling the kernel for
915 an embedded system so certain expert options are available
916 for configuration.
917
910config UID16 918config UID16
911 bool "Enable 16-bit UID system calls" if EMBEDDED 919 bool "Enable 16-bit UID system calls" if EXPERT
912 depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION) 920 depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION)
913 default y 921 default y
914 help 922 help
915 This enables the legacy 16-bit UID syscall wrappers. 923 This enables the legacy 16-bit UID syscall wrappers.
916 924
917config SYSCTL_SYSCALL 925config SYSCTL_SYSCALL
918 bool "Sysctl syscall support" if EMBEDDED 926 bool "Sysctl syscall support" if EXPERT
919 depends on PROC_SYSCTL 927 depends on PROC_SYSCTL
920 default y 928 default y
921 select SYSCTL 929 select SYSCTL
@@ -932,7 +940,7 @@ config SYSCTL_SYSCALL
932 If unsure say Y here. 940 If unsure say Y here.
933 941
934config KALLSYMS 942config KALLSYMS
935 bool "Load all symbols for debugging/ksymoops" if EMBEDDED 943 bool "Load all symbols for debugging/ksymoops" if EXPERT
936 default y 944 default y
937 help 945 help
938 Say Y here to let the kernel print out symbolic crash information and 946 Say Y here to let the kernel print out symbolic crash information and
@@ -963,7 +971,7 @@ config KALLSYMS_EXTRA_PASS
963 971
964 972
965config HOTPLUG 973config HOTPLUG
966 bool "Support for hot-pluggable devices" if EMBEDDED 974 bool "Support for hot-pluggable devices" if EXPERT
967 default y 975 default y
968 help 976 help
969 This option is provided for the case where no hotplug or uevent 977 This option is provided for the case where no hotplug or uevent
@@ -973,7 +981,7 @@ config HOTPLUG
973 981
974config PRINTK 982config PRINTK
975 default y 983 default y
976 bool "Enable support for printk" if EMBEDDED 984 bool "Enable support for printk" if EXPERT
977 help 985 help
978 This option enables normal printk support. Removing it 986 This option enables normal printk support. Removing it
979 eliminates most of the message strings from the kernel image 987 eliminates most of the message strings from the kernel image
@@ -982,7 +990,7 @@ config PRINTK
982 strongly discouraged. 990 strongly discouraged.
983 991
984config BUG 992config BUG
985 bool "BUG() support" if EMBEDDED 993 bool "BUG() support" if EXPERT
986 default y 994 default y
987 help 995 help
988 Disabling this option eliminates support for BUG and WARN, reducing 996 Disabling this option eliminates support for BUG and WARN, reducing
@@ -993,12 +1001,12 @@ config BUG
993 1001
994config ELF_CORE 1002config ELF_CORE
995 default y 1003 default y
996 bool "Enable ELF core dumps" if EMBEDDED 1004 bool "Enable ELF core dumps" if EXPERT
997 help 1005 help
998 Enable support for generating core dumps. Disabling saves about 4k. 1006 Enable support for generating core dumps. Disabling saves about 4k.
999 1007
1000config PCSPKR_PLATFORM 1008config PCSPKR_PLATFORM
1001 bool "Enable PC-Speaker support" if EMBEDDED 1009 bool "Enable PC-Speaker support" if EXPERT
1002 depends on ALPHA || X86 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES 1010 depends on ALPHA || X86 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES
1003 default y 1011 default y
1004 help 1012 help
@@ -1007,14 +1015,14 @@ config PCSPKR_PLATFORM
1007 1015
1008config BASE_FULL 1016config BASE_FULL
1009 default y 1017 default y
1010 bool "Enable full-sized data structures for core" if EMBEDDED 1018 bool "Enable full-sized data structures for core" if EXPERT
1011 help 1019 help
1012 Disabling this option reduces the size of miscellaneous core 1020 Disabling this option reduces the size of miscellaneous core
1013 kernel data structures. This saves memory on small machines, 1021 kernel data structures. This saves memory on small machines,
1014 but may reduce performance. 1022 but may reduce performance.
1015 1023
1016config FUTEX 1024config FUTEX
1017 bool "Enable futex support" if EMBEDDED 1025 bool "Enable futex support" if EXPERT
1018 default y 1026 default y
1019 select RT_MUTEXES 1027 select RT_MUTEXES
1020 help 1028 help
@@ -1023,7 +1031,7 @@ config FUTEX
1023 run glibc-based applications correctly. 1031 run glibc-based applications correctly.
1024 1032
1025config EPOLL 1033config EPOLL
1026 bool "Enable eventpoll support" if EMBEDDED 1034 bool "Enable eventpoll support" if EXPERT
1027 default y 1035 default y
1028 select ANON_INODES 1036 select ANON_INODES
1029 help 1037 help
@@ -1031,7 +1039,7 @@ config EPOLL
1031 support for epoll family of system calls. 1039 support for epoll family of system calls.
1032 1040
1033config SIGNALFD 1041config SIGNALFD
1034 bool "Enable signalfd() system call" if EMBEDDED 1042 bool "Enable signalfd() system call" if EXPERT
1035 select ANON_INODES 1043 select ANON_INODES
1036 default y 1044 default y
1037 help 1045 help
@@ -1041,7 +1049,7 @@ config SIGNALFD
1041 If unsure, say Y. 1049 If unsure, say Y.
1042 1050
1043config TIMERFD 1051config TIMERFD
1044 bool "Enable timerfd() system call" if EMBEDDED 1052 bool "Enable timerfd() system call" if EXPERT
1045 select ANON_INODES 1053 select ANON_INODES
1046 default y 1054 default y
1047 help 1055 help
@@ -1051,7 +1059,7 @@ config TIMERFD
1051 If unsure, say Y. 1059 If unsure, say Y.
1052 1060
1053config EVENTFD 1061config EVENTFD
1054 bool "Enable eventfd() system call" if EMBEDDED 1062 bool "Enable eventfd() system call" if EXPERT
1055 select ANON_INODES 1063 select ANON_INODES
1056 default y 1064 default y
1057 help 1065 help
@@ -1061,7 +1069,7 @@ config EVENTFD
1061 If unsure, say Y. 1069 If unsure, say Y.
1062 1070
1063config SHMEM 1071config SHMEM
1064 bool "Use full shmem filesystem" if EMBEDDED 1072 bool "Use full shmem filesystem" if EXPERT
1065 default y 1073 default y
1066 depends on MMU 1074 depends on MMU
1067 help 1075 help
@@ -1072,7 +1080,7 @@ config SHMEM
1072 which may be appropriate on small systems without swap. 1080 which may be appropriate on small systems without swap.
1073 1081
1074config AIO 1082config AIO
1075 bool "Enable AIO support" if EMBEDDED 1083 bool "Enable AIO support" if EXPERT
1076 default y 1084 default y
1077 help 1085 help
1078 This option enables POSIX asynchronous I/O which may by used 1086 This option enables POSIX asynchronous I/O which may by used
@@ -1149,16 +1157,16 @@ endmenu
1149 1157
1150config VM_EVENT_COUNTERS 1158config VM_EVENT_COUNTERS
1151 default y 1159 default y
1152 bool "Enable VM event counters for /proc/vmstat" if EMBEDDED 1160 bool "Enable VM event counters for /proc/vmstat" if EXPERT
1153 help 1161 help
1154 VM event counters are needed for event counts to be shown. 1162 VM event counters are needed for event counts to be shown.
1155 This option allows the disabling of the VM event counters 1163 This option allows the disabling of the VM event counters
1156 on EMBEDDED systems. /proc/vmstat will only show page counts 1164 on EXPERT systems. /proc/vmstat will only show page counts
1157 if VM event counters are disabled. 1165 if VM event counters are disabled.
1158 1166
1159config PCI_QUIRKS 1167config PCI_QUIRKS
1160 default y 1168 default y
1161 bool "Enable PCI quirk workarounds" if EMBEDDED 1169 bool "Enable PCI quirk workarounds" if EXPERT
1162 depends on PCI 1170 depends on PCI
1163 help 1171 help
1164 This enables workarounds for various PCI chipset 1172 This enables workarounds for various PCI chipset
@@ -1167,7 +1175,7 @@ config PCI_QUIRKS
1167 1175
1168config SLUB_DEBUG 1176config SLUB_DEBUG
1169 default y 1177 default y
1170 bool "Enable SLUB debugging support" if EMBEDDED 1178 bool "Enable SLUB debugging support" if EXPERT
1171 depends on SLUB && SYSFS 1179 depends on SLUB && SYSFS
1172 help 1180 help
1173 SLUB has extensive debug support features. Disabling these can 1181 SLUB has extensive debug support features. Disabling these can
@@ -1211,7 +1219,7 @@ config SLUB
1211 a slab allocator. 1219 a slab allocator.
1212 1220
1213config SLOB 1221config SLOB
1214 depends on EMBEDDED 1222 depends on EXPERT
1215 bool "SLOB (Simple Allocator)" 1223 bool "SLOB (Simple Allocator)"
1216 help 1224 help
1217 SLOB replaces the stock allocator with a drastically simpler 1225 SLOB replaces the stock allocator with a drastically simpler
@@ -1222,7 +1230,7 @@ endchoice
1222 1230
1223config MMAP_ALLOW_UNINITIALIZED 1231config MMAP_ALLOW_UNINITIALIZED
1224 bool "Allow mmapped anonymous memory to be uninitialized" 1232 bool "Allow mmapped anonymous memory to be uninitialized"
1225 depends on EMBEDDED && !MMU 1233 depends on EXPERT && !MMU
1226 default n 1234 default n
1227 help 1235 help
1228 Normally, and according to the Linux spec, anonymous memory obtained 1236 Normally, and according to the Linux spec, anonymous memory obtained