aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2004-08-22 22:46:30 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:46:30 -0700
commite5f29853e9797a740708e0d38cecda5be168ac8a (patch)
tree300086c4432f53eca1e99480f44dd9b4958232eb /include
parent0a50caad8db2a2a4ab547d8e280ad29560fef37d (diff)
downloadhistory-e5f29853e9797a740708e0d38cecda5be168ac8a.tar.gz
[PATCH] Enable all events for initramfs
Currently most driver events are not sent out when using initramfs as driver_init() (which triggers the events) is called before init_workqueues. This patch rearranges the init calls so that the hotplug event queue is enabled prior to calling driver_init(), hence we're getting all hotplug events again. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kmod.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h
index a484f52445cb88..588f4c6ebe294f 100644
--- a/include/linux/kmod.h
+++ b/include/linux/kmod.h
@@ -35,6 +35,7 @@ static inline int request_module(const char * name, ...) { return -ENOSYS; }
#define try_then_request_module(x, mod...) ((x) ?: (request_module(mod), (x)))
extern int call_usermodehelper(char *path, char *argv[], char *envp[], int wait);
+extern void usermodehelper_init(void);
#ifdef CONFIG_HOTPLUG
extern char hotplug_path [];