[PATCH] allow KOBJECT_UEVENT=n only if EMBEDDED
authorAdrian Bunk <bunk@stusta.de>
Tue, 13 Dec 2005 01:58:07 +0000 (02:58 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Dec 2005 17:18:54 +0000 (09:18 -0800)
KOBJECT_UEVENT=n seems to be a common pitfall for udev users in 2.6.14 .

-mm already contains a bigger patch removing this option that is IMHO
too big for being applied now to 2.6.15-rc.

This patch simply allows KOBJECT_UEVENT=n only if EMBEDDED.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
init/Kconfig

index ea097e0a9c02964abbe421d5aaf3efc1459e4010..59344616f477709198196f99a21b3b46511e8262 100644 (file)
@@ -206,7 +206,7 @@ config HOTPLUG
          outside the kernel tree does. Such modules require Y here.
 
 config KOBJECT_UEVENT
-       bool "Kernel Userspace Events"
+       bool "Kernel Userspace Events" if EMBEDDED
        depends on NET
        default y
        help