summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-25 22:33:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-25 22:33:54 +0000
commit5c6734844aaa72d367bd07b8785b7fbd38949611 (patch)
treedc25362d9129cd9ff99ea536cfcb5c928f05b6e3
parent54b81a029a2a96419c3284282739bb34a6fed71d (diff)
Fix the bug, not the sympthom ...
-rw-r--r--kernel/module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c
index a25596c51..6e3534a15 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -350,7 +350,6 @@ err0:
return error;
}
-#endif /* CONFIG_MODULES */
static spinlock_t unload_lock = SPIN_LOCK_UNLOCKED;
int try_inc_mod_count(struct module *mod)
{
@@ -365,7 +364,6 @@ int try_inc_mod_count(struct module *mod)
}
return res;
}
-#ifdef CONFIG_MODULES /* a *big* #ifdef block... */
asmlinkage long
sys_delete_module(const char *name_user)