diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-07-08 13:00:24 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-22 05:24:31 -0400 |
commit | a00caa1fa954c734f4214a074727a329a9ba6568 (patch) | |
tree | 8c579cb726e164cdb25d3a8ab27f658c3ddfc5bf | |
parent | 184b6c7682e484032e3f845eef5db26e72681d6f (diff) |
remove CONFIG_KMOD from lib
textsearch algorithms can be loaded, make the code depend
on CONFIG_MODULES instead of CONFIG_KMOD.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | lib/textsearch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/textsearch.c b/lib/textsearch.c index 4b7c6075256f..9fbcb44c554f 100644 --- a/lib/textsearch.c +++ b/lib/textsearch.c | |||
@@ -267,7 +267,7 @@ struct ts_config *textsearch_prepare(const char *algo, const void *pattern, | |||
267 | return ERR_PTR(-EINVAL); | 267 | return ERR_PTR(-EINVAL); |
268 | 268 | ||
269 | ops = lookup_ts_algo(algo); | 269 | ops = lookup_ts_algo(algo); |
270 | #ifdef CONFIG_KMOD | 270 | #ifdef CONFIG_MODULES |
271 | /* | 271 | /* |
272 | * Why not always autoload you may ask. Some users are | 272 | * Why not always autoload you may ask. Some users are |
273 | * in a situation where requesting a module may deadlock, | 273 | * in a situation where requesting a module may deadlock, |