]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/textsearch.c
create twl4030-irq.c
[linux-2.6-omap-h63xx.git] / lib / textsearch.c
index b451fcc9354c0f1811ae268d62d2bc1990197ad8..9fbcb44c554f9edbb2b2b439c20d5e18362cdc6d 100644 (file)
@@ -99,6 +99,7 @@
 #include <linux/types.h>
 #include <linux/string.h>
 #include <linux/init.h>
+#include <linux/rculist.h>
 #include <linux/rcupdate.h>
 #include <linux/err.h>
 #include <linux/textsearch.h>
@@ -266,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,