diff options
author | Jun'ichi Nomura <j-nomura@ce.jp.nec.com> | 2006-03-15 08:28:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 13:42:57 -0800 |
commit | 51107301b629640f9ab76fe23bf385e187b9ac29 (patch) | |
tree | 27d8bafd7ab9cfd460b3d850da69a0293876f20a /lib | |
parent | 641e6f30a095f3752ed84fd9d279382f5d3ef4c1 (diff) | |
download | linux-stable-51107301b629640f9ab76fe23bf385e187b9ac29.tar.gz linux-stable-51107301b629640f9ab76fe23bf385e187b9ac29.tar.bz2 linux-stable-51107301b629640f9ab76fe23bf385e187b9ac29.zip |
[PATCH] kobject: fix build error if CONFIG_SYSFS=n
Moving uevent_seqnum and uevent_helper to kobject_uevent.c
because they are used even if CONFIG_SYSFS=n
while kernel/ksysfs.c is built only if CONFIG_SYSFS=y,
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kobject_uevent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index 086a0c6e888e..982226daf939 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c @@ -26,6 +26,8 @@ #define NUM_ENVP 32 /* number of env pointers */ #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) +u64 uevent_seqnum; +char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug"; static DEFINE_SPINLOCK(sequence_lock); static struct sock *uevent_sock; |