summaryrefslogtreecommitdiffstats
path: root/kernel/exec_domain.c
diff options
context:
space:
mode:
authorJohannes Berg2008-07-08 19:00:17 +0200
committerRusty Russell2008-07-22 11:24:31 +0200
commita1ef5adb4cad43460ebba23c5a78cf4a55bb6a5b (patch)
tree1556b41ff7a03a6941cb363d97204bfef501f9c4 /kernel/exec_domain.c
parentremove CONFIG_KMOD from lib (diff)
downloadkernel-qcow2-linux-a1ef5adb4cad43460ebba23c5a78cf4a55bb6a5b.tar.gz
kernel-qcow2-linux-a1ef5adb4cad43460ebba23c5a78cf4a55bb6a5b.tar.xz
kernel-qcow2-linux-a1ef5adb4cad43460ebba23c5a78cf4a55bb6a5b.zip
remove CONFIG_KMOD from core kernel code
Always compile request_module when the kernel allows modules. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/exec_domain.c')
-rw-r--r--kernel/exec_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c
index a9e6bad9f706..c1ef192aa655 100644
--- a/kernel/exec_domain.c
+++ b/kernel/exec_domain.c
@@ -65,7 +65,7 @@ lookup_exec_domain(u_long personality)
goto out;
}
-#ifdef CONFIG_KMOD
+#ifdef CONFIG_MODULES
read_unlock(&exec_domains_lock);
request_module("personality-%ld", pers);
read_lock(&exec_domains_lock);