diff options
author | Jody McIntyre <scjody@modernduck.com> | 2006-01-05 08:03:40 -0500 |
---|---|---|
committer | Jody McIntyre <scjody@modernduck.com> | 2006-01-05 08:03:40 -0500 |
commit | 0a75c23a009ff65f651532cecc16675d05f4de37 (patch) | |
tree | bdcd6158758fe1810f0ddddb80d2816779518688 /init | |
parent | 34b8c399dc04c8e51f014b73458e654570698597 (diff) | |
parent | db9edfd7e339ca4113153d887e782dd05be5a9eb (diff) |
Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 40 | ||||
-rw-r--r-- | init/main.c | 4 |
2 files changed, 11 insertions, 33 deletions
diff --git a/init/Kconfig b/init/Kconfig index 9fc0759fa9..ce737e02c5 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -197,33 +197,6 @@ config AUDITSYSCALL | |||
197 | can be used independently or with another kernel subsystem, | 197 | can be used independently or with another kernel subsystem, |
198 | such as SELinux. | 198 | such as SELinux. |
199 | 199 | ||
200 | config HOTPLUG | ||
201 | bool "Support for hot-pluggable devices" if !ARCH_S390 | ||
202 | default ARCH_S390 | ||
203 | help | ||
204 | This option is provided for the case where no in-kernel-tree | ||
205 | modules require HOTPLUG functionality, but a module built | ||
206 | outside the kernel tree does. Such modules require Y here. | ||
207 | |||
208 | config KOBJECT_UEVENT | ||
209 | bool "Kernel Userspace Events" if EMBEDDED | ||
210 | depends on NET | ||
211 | default y | ||
212 | help | ||
213 | This option enables the kernel userspace event layer, which is a | ||
214 | simple mechanism for kernel-to-user communication over a netlink | ||
215 | socket. | ||
216 | The goal of the kernel userspace events layer is to provide a simple | ||
217 | and efficient events system, that notifies userspace about kobject | ||
218 | state changes. This will enable applications to just listen for | ||
219 | events instead of polling system devices and files. | ||
220 | Hotplug events (kobject addition and removal) are also available on | ||
221 | the netlink socket in addition to the execution of /sbin/hotplug if | ||
222 | CONFIG_HOTPLUG is enabled. | ||
223 | |||
224 | Say Y, unless you are building a system requiring minimal memory | ||
225 | consumption. | ||
226 | |||
227 | config IKCONFIG | 200 | config IKCONFIG |
228 | bool "Kernel .config support" | 201 | bool "Kernel .config support" |
229 | ---help--- | 202 | ---help--- |
@@ -308,6 +281,15 @@ config KALLSYMS_EXTRA_PASS | |||
308 | you wait for kallsyms to be fixed. | 281 | you wait for kallsyms to be fixed. |
309 | 282 | ||
310 | 283 | ||
284 | config HOTPLUG | ||
285 | bool "Support for hot-pluggable devices" if EMBEDDED | ||
286 | default y | ||
287 | help | ||
288 | This option is provided for the case where no hotplug or uevent | ||
289 | capabilities is wanted by the kernel. You should only consider | ||
290 | disabling this option for embedded systems that do not use modules, a | ||
291 | dynamic /dev tree, or dynamic device discovery. Just say Y. | ||
292 | |||
311 | config PRINTK | 293 | config PRINTK |
312 | default y | 294 | default y |
313 | bool "Enable support for printk" if EMBEDDED | 295 | bool "Enable support for printk" if EMBEDDED |
@@ -461,8 +443,8 @@ config OBSOLETE_MODPARM | |||
461 | If unsure, say Y. | 443 | If unsure, say Y. |
462 | 444 | ||
463 | config MODVERSIONS | 445 | config MODVERSIONS |
464 | bool "Module versioning support (EXPERIMENTAL)" | 446 | bool "Module versioning support" |
465 | depends on MODULES && EXPERIMENTAL | 447 | depends on MODULES |
466 | help | 448 | help |
467 | Usually, you have to use modules compiled with your kernel. | 449 | Usually, you have to use modules compiled with your kernel. |
468 | Saying Y here makes it sometimes possible to use modules | 450 | Saying Y here makes it sometimes possible to use modules |
diff --git a/init/main.c b/init/main.c index 27f97f9b46..54aaf561cf 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -47,7 +47,6 @@ | |||
47 | #include <linux/rmap.h> | 47 | #include <linux/rmap.h> |
48 | #include <linux/mempolicy.h> | 48 | #include <linux/mempolicy.h> |
49 | #include <linux/key.h> | 49 | #include <linux/key.h> |
50 | #include <net/sock.h> | ||
51 | 50 | ||
52 | #include <asm/io.h> | 51 | #include <asm/io.h> |
53 | #include <asm/bugs.h> | 52 | #include <asm/bugs.h> |
@@ -614,9 +613,6 @@ static void __init do_basic_setup(void) | |||
614 | sysctl_init(); | 613 | sysctl_init(); |
615 | #endif | 614 | #endif |
616 | 615 | ||
617 | /* Networking initialization needs a process context */ | ||
618 | sock_init(); | ||
619 | |||
620 | do_initcalls(); | 616 | do_initcalls(); |
621 | } | 617 | } |
622 | 618 | ||