sysctl extern cleanup: module
authorDave Young <hidave.darkstar@gmail.com>
Wed, 10 Mar 2010 23:24:06 +0000 (15:24 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:53:10 +0000 (15:53 -0800)
commit5ed109103d73b0bafc92e860cead56725231384d
tree4744e2d3c0e11095865e22ff285f71b7fb542f3d
parente5ab67726f33b50f40db0ccf271ceb3c658554d5
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>
include/linux/kmod.h
include/linux/module.h
kernel/sysctl.c