oops: fix builds without BIGMODULE

This commit is contained in:
Thomas Schoebel-Theuer 2011-10-04 13:45:09 +02:00 committed by Thomas Schoebel-Theuer
parent 3c86d0fa08
commit e82bdbf804
2 changed files with 4 additions and 1 deletions

View File

@ -3036,10 +3036,12 @@ static void __exit exit_light(void)
put_task_struct(thread);
}
#ifdef CONFIG_MARS_HAVE_BIGMODULE
while (exit_fn_nr > 0) {
MARS_DBG("=== stopping module %s ...\n", exit_names[exit_fn_nr - 1]);
exit_fn[--exit_fn_nr]();
}
#endif
MARS_DBG("====================== stopped everything.\n");
}
@ -3098,7 +3100,7 @@ const void *dummy2 = &server_brick_type;
MODULE_DESCRIPTION("MARS Light");
MODULE_AUTHOR("Thomas Schoebel-Theuer <tst@1und1.de>");
MODULE_VERSION(BUILDTAG " (" BUILDHOST BUILDDATE ")");
MODULE_VERSION(BUILDTAG " (" BUILDHOST " " BUILDDATE ")");
MODULE_LICENSE("GPL");
module_init(init_light);

View File

@ -672,6 +672,7 @@ int mars_find_dent_all(struct mars_global *global, char *prefix, struct mars_den
done:
return count;
}
EXPORT_SYMBOL_GPL(mars_find_dent_all);
void mars_kill_dent(struct mars_dent *dent)
{