diff options
| author | Stephen Rothwell <[email protected]> | 2009-04-14 07:27:18 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2009-04-14 22:17:31 +0000 |
| commit | 19e4529ee7345079eeacc8e40cf69a304a64dc23 (patch) | |
| tree | 5f08c1803c10178373468e1fd3e24a91092cb7a1 /security/selinux/hooks.c | |
| parent | smack: implement logging V3 (diff) | |
| download | kernel-19e4529ee7345079eeacc8e40cf69a304a64dc23.tar.gz kernel-19e4529ee7345079eeacc8e40cf69a304a64dc23.zip | |
modules: Fix up build when CONFIG_MODULE_UNLOAD=n.
Commit 3d43321b7015387cfebbe26436d0e9d299162ea1 ("modules: sysctl to
block module loading") introduces a modules_disabled variable that is
only defined if CONFIG_MODULE_UNLOAD is enabled, despite being used in
other places. This moves it up and fixes up the build.
CC kernel/module.o
kernel/module.c: In function 'sys_init_module':
kernel/module.c:2401: error: 'modules_disabled' undeclared (first use in this function)
kernel/module.c:2401: error: (Each undeclared identifier is reported only once
kernel/module.c:2401: error: for each function it appears in.)
make[1]: *** [kernel/module.o] Error 1
make: *** [kernel/module.o] Error 2
Signed-off-by: Paul Mundt <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
