Hi,
2.3.51 won't build when CONFIG_MODULES is not selected
because there is no try_inc_mod_count. The dummy function
could go in kernel/module.c with my dummy module syscalls
if you wanted.
The defined(MODULE) check isn't currently required but it
will be if try_inc_mod_count gets exported in the future.
Thanks,
Paul.
--- linux/include/linux/module.h~ Sat Mar 11 04:10:13 2000
+++ linux/include/linux/module.h Sat Mar 11 17:43:32 2000
@@ -145,7 +145,11 @@
/* Find a symbol exported by the kernel or another module */
extern unsigned long get_module_symbol(char *, char *);
+#if defined(MODULE) || defined(CONFIG_MODULES)
extern int try_inc_mod_count(struct module *mod);
+#else
+static inline int try_inc_mod_count(struct module *mod) { return 1; }
+#endif
#if defined(MODULE) && !defined(__GENKSYMS__)
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:20 EST