patch-2.3.51 linux/include/linux/kmod.h
Next file: linux/include/linux/lockd/bind.h
Previous file: linux/include/linux/irq.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Mar 10 14:31:30 2000
- Orig file:
v2.3.50/linux/include/linux/kmod.h
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.50/linux/include/linux/kmod.h linux/include/linux/kmod.h
@@ -9,7 +9,7 @@
extern int request_module(const char * name);
extern int exec_usermodehelper(char *program_path, char *argv[], char *envp[]);
#else
-#define request_module(x) do {} while(0)
+static inline int request_module(const char * name) { return -ENOSYS; }
extern inline int exec_usermodehelper(char *program_path, char *argv[], char *envp[])
{
return -EACCES;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)