aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig19
-rw-r--r--init/do_mounts.c2
-rw-r--r--init/main.c2
3 files changed, 11 insertions, 12 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 0edda616640f..332aac649966 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -485,7 +485,7 @@ config TREE_RCU_TRACE
485 485
486config RCU_BOOST 486config RCU_BOOST
487 bool "Enable RCU priority boosting" 487 bool "Enable RCU priority boosting"
488 depends on RT_MUTEXES && TINY_PREEMPT_RCU 488 depends on RT_MUTEXES && PREEMPT_RCU
489 default n 489 default n
490 help 490 help
491 This option boosts the priority of preempted RCU readers that 491 This option boosts the priority of preempted RCU readers that
@@ -903,7 +903,6 @@ endif
903 903
904config CC_OPTIMIZE_FOR_SIZE 904config CC_OPTIMIZE_FOR_SIZE
905 bool "Optimize for size" 905 bool "Optimize for size"
906 default y
907 help 906 help
908 Enabling this option will pass "-Os" instead of "-O2" to gcc 907 Enabling this option will pass "-Os" instead of "-O2" to gcc
909 resulting in a smaller kernel. 908 resulting in a smaller kernel.
@@ -924,14 +923,6 @@ menuconfig EXPERT
924 environments which can tolerate a "non-standard" kernel. 923 environments which can tolerate a "non-standard" kernel.
925 Only use this if you really know what you are doing. 924 Only use this if you really know what you are doing.
926 925
927config EMBEDDED
928 bool "Embedded system"
929 select EXPERT
930 help
931 This option should be enabled if compiling the kernel for
932 an embedded system so certain expert options are available
933 for configuration.
934
935config UID16 926config UID16
936 bool "Enable 16-bit UID system calls" if EXPERT 927 bool "Enable 16-bit UID system calls" if EXPERT
937 depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION) 928 depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION)
@@ -1098,6 +1089,14 @@ config AIO
1098 by some high performance threaded applications. Disabling 1089 by some high performance threaded applications. Disabling
1099 this option saves about 7k. 1090 this option saves about 7k.
1100 1091
1092config EMBEDDED
1093 bool "Embedded system"
1094 select EXPERT
1095 help
1096 This option should be enabled if compiling the kernel for
1097 an embedded system so certain expert options are available
1098 for configuration.
1099
1101config HAVE_PERF_EVENTS 1100config HAVE_PERF_EVENTS
1102 bool 1101 bool
1103 help 1102 help
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 3e0112157795..c0851a8e030c 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -186,7 +186,7 @@ dev_t name_to_dev_t(char *name)
186 goto done; 186 goto done;
187 187
188 /* 188 /*
189 * try non-existant, but valid partition, which may only exist 189 * try non-existent, but valid partition, which may only exist
190 * after revalidating the disk, like partitioned md devices 190 * after revalidating the disk, like partitioned md devices
191 */ 191 */
192 while (p > s && isdigit(p[-1])) 192 while (p > s && isdigit(p[-1]))
diff --git a/init/main.c b/init/main.c
index 4a9479ef4540..48df882d51d2 100644
--- a/init/main.c
+++ b/init/main.c
@@ -580,8 +580,8 @@ asmlinkage void __init start_kernel(void)
580#endif 580#endif
581 page_cgroup_init(); 581 page_cgroup_init();
582 enable_debug_pagealloc(); 582 enable_debug_pagealloc();
583 kmemleak_init();
584 debug_objects_mem_init(); 583 debug_objects_mem_init();
584 kmemleak_init();
585 setup_per_cpu_pageset(); 585 setup_per_cpu_pageset();
586 numa_policy_init(); 586 numa_policy_init();
587 if (late_time_init) 587 if (late_time_init)