Re: patch for 2.3.51 with modules disabled

From: Arjan van de Ven (arjan@fenrus.demon.nl)
Date: Sun Mar 12 2000 - 04:01:18 EST


In article <38CAD253.6755DF8@yahoo.com> you wrote:
> The defined(MODULE) check isn't currently required but it
> will be if try_inc_mod_count gets exported in the future.

Hi,

I would like to move your stub-declaration. module.h already contains a part
where other stubs are stored (for EXPORT_SYMBOL etc).

Greetings,
   Arjan van de Ven

--- linux/include/linux/module.h.org Sat Mar 11 14:52:31 2000
+++ linux/include/linux/module.h Sat Mar 11 14:53:36 2000
@@ -264,6 +264,10 @@
 #define EXPORT_SYMBOL(var)
 #define EXPORT_SYMBOL_NOVERS(var)
 
+extern inline int try_inc_mod_count(struct module *mod)
+{ return 1; }
+
+
 #elif !defined(EXPORT_SYMTAB)
 
 /* If things weren't set up in the Makefiles to get EXPORT_SYMTAB defined,

-
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:21 EST