Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / lib / textsearch.c
index 4b7c6075256f60e02cbf144029f00142e7411fa4..9fbcb44c554f9edbb2b2b439c20d5e18362cdc6d 100644 (file)
@@ -267,7 +267,7 @@ struct ts_config *textsearch_prepare(const char *algo, const void *pattern,
                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,