mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] remove CONFIG_KOBJECT_UEVENT option
It makes zero sense to have hotplug, but not the netlink events enabled today. Remove this option and merge the kobject_uevent.h header into the kobject.h header file. Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
0343821177
commit
0296b22813
8 changed files with 40 additions and 107 deletions
19
init/Kconfig
19
init/Kconfig
|
|
@ -205,25 +205,6 @@ config HOTPLUG
|
|||
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---
|
||||
|
|
|
|||
Loading…
Reference in a new issue