aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig20
-rw-r--r--init/main.c1
2 files changed, 11 insertions, 10 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 10382931eead..176f7e5136c7 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1,5 +1,6 @@
1config DEFCONFIG_LIST 1config DEFCONFIG_LIST
2 string 2 string
3 depends on !UML
3 option defconfig_list 4 option defconfig_list
4 default "/lib/modules/$UNAME_RELEASE/.config" 5 default "/lib/modules/$UNAME_RELEASE/.config"
5 default "/etc/kernel-config" 6 default "/etc/kernel-config"
@@ -303,20 +304,19 @@ config UID16
303 304
304config SYSCTL_SYSCALL 305config SYSCTL_SYSCALL
305 bool "Sysctl syscall support" if EMBEDDED 306 bool "Sysctl syscall support" if EMBEDDED
306 default n 307 default y
307 select SYSCTL 308 select SYSCTL
308 ---help--- 309 ---help---
309 Enable the deprecated sysctl system call. sys_sysctl uses 310 sys_sysctl uses binary paths that have been found challenging
310 binary paths that have been found to be a major pain to maintain 311 to properly maintain and use. The interface in /proc/sys
311 and use. The interface in /proc/sys is now the primary and what 312 using paths with ascii names is now the primary path to this
312 everyone uses. 313 information.
313 314
314 Nothing has been using the binary sysctl interface for some 315 Almost nothing using the binary sysctl interface so if you are
315 time now so nothing should break if you disable sysctl syscall 316 trying to save some space it is probably safe to disable this,
316 support, and your kernel will get marginally smaller. 317 making your kernel marginally smaller.
317 318
318 Unless you have an application that uses the sys_sysctl interface 319 If unsure say Y here.
319 you should probably say N here.
320 320
321config KALLSYMS 321config KALLSYMS
322 bool "Load all symbols for debugging/kksymoops" if EMBEDDED 322 bool "Load all symbols for debugging/kksymoops" if EMBEDDED
diff --git a/init/main.c b/init/main.c
index ee123243fb53..36f608a7cfba 100644
--- a/init/main.c
+++ b/init/main.c
@@ -503,6 +503,7 @@ asmlinkage void __init start_kernel(void)
503 printk(KERN_NOTICE); 503 printk(KERN_NOTICE);
504 printk(linux_banner); 504 printk(linux_banner);
505 setup_arch(&command_line); 505 setup_arch(&command_line);
506 unwind_setup();
506 setup_per_cpu_areas(); 507 setup_per_cpu_areas();
507 smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */ 508 smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */
508 509