[patch] CONFIG_KOBJECT_UEVENTS in 2.6.15

From: Lukasz Stelmach
Date: Sun Jan 29 2006 - 07:33:53 EST


Greetings.

IMHO since CONFIG_KOBJECT_UEVENT depends on CONFIG_EMBEDDED it should be
placed in this menu. Now it is in "General setup", what might cause, or
I am such a dumb, some confusion because it is invisible "without any
reason" until C_E is. Here you are a patch that, let me say, fixes the
Kconfig file.

--
ByÅo mi bardzo miÅo. Czwarta pospolita klÄska, [...]
>Åukasz< JuÅ nie katolicka lecz zÅodziejska. (c)PP


----------------------------------------------------------------------
Kobiety i samochody... piekne! >>> http://link.interia.pl/f18f5
--- /tmp/Kconfig-2.6.15-orig 2006-01-29 13:22:33.000000000 +0100
+++ /tmp/Kconfig-2.6.15 2006-01-29 13:25:10.000000000 +0100
@@ -205,25 +205,6 @@
modules require HOTPLUG functionality, but a module built
outside the kernel tree does. Such modules require Y here.

-config KOBJECT_UEVENT
- bool "Kernel Userspace Events" if EMBEDDED
- depends on NET
- default y
- help
- This option enables the kernel userspace event layer, which is a
- simple mechanism for kernel-to-user communication over a netlink
- socket.
- The goal of the kernel userspace events layer is to provide a simple
- and efficient events system, that notifies userspace about kobject
- state changes. This will enable applications to just listen for
- events instead of polling system devices and files.
- Hotplug events (kobject addition and removal) are also available on
- the netlink socket in addition to the execution of /sbin/hotplug if
- CONFIG_HOTPLUG is enabled.
-
- Say Y, unless you are building a system requiring minimal memory
- consumption.
-
config IKCONFIG
bool "Kernel .config support"
---help---
@@ -362,6 +343,25 @@
option replaces shmem and tmpfs with the much simpler ramfs code,
which may be appropriate on small systems without swap.

+config KOBJECT_UEVENT
+ bool "Kernel Userspace Events" if EMBEDDED
+ depends on NET
+ default y
+ help
+ This option enables the kernel userspace event layer, which is a
+ simple mechanism for kernel-to-user communication over a netlink
+ socket.
+ The goal of the kernel userspace events layer is to provide a simple
+ and efficient events system, that notifies userspace about kobject
+ state changes. This will enable applications to just listen for
+ events instead of polling system devices and files.
+ Hotplug events (kobject addition and removal) are also available on
+ the netlink socket in addition to the execution of /sbin/hotplug if
+ CONFIG_HOTPLUG is enabled.
+
+ Say Y, unless you are building a system requiring minimal memory
+ consumption.
+
config CC_ALIGN_FUNCTIONS
int "Function alignment" if EMBEDDED
default 0

Attachment: signature.asc
Description: OpenPGP digital signature