Re: [PATCH] module cleanup (3/5)

From: Roman Zippel (zippel@linux-m68k.org)
Date: Wed Aug 07 2002 - 18:50:54 EST


Hi,

I wrote:

> This patch removes __MODULE_STRING() in favour of __stringify().

Unfortunately too much code still uses it, so here is a small follow up
patch to add a compatibility define.

bye, Roman

--- linux/include/linux/module.h.org Thu Aug 8 01:41:46 2002
+++ linux/include/linux/module.h Thu Aug 8 01:42:37 2002
@@ -130,6 +130,7 @@
 /* Backwards compatibility definition. */
 
 #define GET_USE_COUNT(module) (atomic_read(&(module)->uc.usecount))
+#define __MODULE_STRING(x) __stringify(x)
 
 /* Poke the use count of a module. */
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:38 EST