This is a discussion on [PATCH -next 09/11] remove CONFIG_KMOD from lib - Kernel ; textsearch algorithms can be loaded, make the code depend on CONFIG_MODULES instead of CONFIG_KMOD. Signed-off-by: Johannes Berg --- lib/textsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next.orig/lib/textsearch.c 2008-07-08 23:47:41.000000000 +0200 +++ linux-next/lib/textsearch.c 2008-07-08 23:55:34.000000000 +0200 @@ ...
textsearch algorithms can be loaded, make the code depend
on CONFIG_MODULES instead of CONFIG_KMOD.
Signed-off-by: Johannes Berg
---
lib/textsearch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next.orig/lib/textsearch.c 2008-07-08 23:47:41.000000000 +0200
+++ linux-next/lib/textsearch.c 2008-07-08 23:55:34.000000000 +0200
@@ -265,7 +265,7 @@ struct ts_config *textsearch_prepare(con
return ERR_PTR(-EINVAL);
ops = lookup_ts_algo(algo);
-#ifdef CONFIG_KMOD
+#ifdef CONFIG_MODULES
/*
* Why not always autoload you may ask. Some users are
* in a situation where requesting a module may deadlock,
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/