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

Roman Zippel (zippel@linux-m68k.org)
Thu, 08 Aug 2002 01:50:54 +0200


This is a multi-part message in MIME format.
--------------47B808B48F8D04F348505F79
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 7bit

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
--------------47B808B48F8D04F348505F79
Content-Type: text/plain; charset=iso-8859-15;
name="string.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="string.diff"

--- 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. */

--------------47B808B48F8D04F348505F79--

-
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/