vserver 1.9.5.x5
[linux-2.6.git] / include / linux / kmod.h
index 7c5af18..95d0e4b 100644 (file)
@@ -23,6 +23,8 @@
 #include <linux/errno.h>
 #include <linux/compiler.h>
 
+#define KMOD_PATH_LEN 256
+
 #ifdef CONFIG_KMOD
 /* modprobe exit status on success, -ve on error.  Return value
  * usually useless though. */
@@ -33,9 +35,6 @@ 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);
-
-#ifdef CONFIG_HOTPLUG
-extern char hotplug_path [];
-#endif
+extern void usermodehelper_init(void);
 
 #endif /* __LINUX_KMOD_H__ */