diff options
author | Dave Young <hidave.darkstar@gmail.com> | 2010-03-10 18:24:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 18:53:10 -0500 |
commit | 5ed109103d73b0bafc92e860cead56725231384d (patch) | |
tree | 4744e2d3c0e11095865e22ff285f71b7fb542f3d /include/linux/kmod.h | |
parent | e5ab67726f33b50f40db0ccf271ceb3c658554d5 (diff) |
sysctl extern cleanup: module
Extern declarations in sysctl.c should be moved to their own header file,
and then include them in relavant .c files.
Move modprobe_path extern declaration to linux/kmod.h
Move modules_disabled extern declaration to linux/module.h
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kmod.h')
-rw-r--r-- | include/linux/kmod.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h index 384ca8bbf1ac..facb27fe7de0 100644 --- a/include/linux/kmod.h +++ b/include/linux/kmod.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #define KMOD_PATH_LEN 256 | 27 | #define KMOD_PATH_LEN 256 |
28 | 28 | ||
29 | #ifdef CONFIG_MODULES | 29 | #ifdef CONFIG_MODULES |
30 | extern char modprobe_path[]; /* for sysctl */ | ||
30 | /* modprobe exit status on success, -ve on error. Return value | 31 | /* modprobe exit status on success, -ve on error. Return value |
31 | * usually useless though. */ | 32 | * usually useless though. */ |
32 | extern int __request_module(bool wait, const char *name, ...) \ | 33 | extern int __request_module(bool wait, const char *name, ...) \ |