aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-12-03 23:59:07 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-03 23:59:07 -0500
commit79acbb3ff2d8095b692e1502b9eb2ccec348de26 (patch)
tree6ab773e5a8f9de2cd6443362b21d0d6fffe3b35e /init
parent19a79859e168640f8e16d7b216d211c1c52b687a (diff)
parent2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2 (diff)
Merge branch 'linux-2.6' into for-linus
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig40
-rw-r--r--init/main.c1
2 files changed, 31 insertions, 10 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 10382931eead..14d484606fab 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"
@@ -248,6 +249,26 @@ config CPUSETS
248 249
249 Say N if unsure. 250 Say N if unsure.
250 251
252config SYSFS_DEPRECATED
253 bool "Create deprecated sysfs files"
254 default y
255 help
256 This option creates deprecated symlinks such as the
257 "device"-link, the <subsystem>:<name>-link, and the
258 "bus"-link. It may also add deprecated key in the
259 uevent environment.
260 None of these features or values should be used today, as
261 they export driver core implementation details to userspace
262 or export properties which can't be kept stable across kernel
263 releases.
264
265 If enabled, this option will also move any device structures
266 that belong to a class, back into the /sys/class heirachy, in
267 order to support older versions of udev.
268
269 If you are using a distro that was released in 2006 or later,
270 it should be safe to say N here.
271
251config RELAY 272config RELAY
252 bool "Kernel->user space relay support (formerly relayfs)" 273 bool "Kernel->user space relay support (formerly relayfs)"
253 help 274 help
@@ -303,20 +324,19 @@ config UID16
303 324
304config SYSCTL_SYSCALL 325config SYSCTL_SYSCALL
305 bool "Sysctl syscall support" if EMBEDDED 326 bool "Sysctl syscall support" if EMBEDDED
306 default n 327 default y
307 select SYSCTL 328 select SYSCTL
308 ---help--- 329 ---help---
309 Enable the deprecated sysctl system call. sys_sysctl uses 330 sys_sysctl uses binary paths that have been found challenging
310 binary paths that have been found to be a major pain to maintain 331 to properly maintain and use. The interface in /proc/sys
311 and use. The interface in /proc/sys is now the primary and what 332 using paths with ascii names is now the primary path to this
312 everyone uses. 333 information.
313 334
314 Nothing has been using the binary sysctl interface for some 335 Almost nothing using the binary sysctl interface so if you are
315 time now so nothing should break if you disable sysctl syscall 336 trying to save some space it is probably safe to disable this,
316 support, and your kernel will get marginally smaller. 337 making your kernel marginally smaller.
317 338
318 Unless you have an application that uses the sys_sysctl interface 339 If unsure say Y here.
319 you should probably say N here.
320 340
321config KALLSYMS 341config KALLSYMS
322 bool "Load all symbols for debugging/kksymoops" if EMBEDDED 342 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