Re: make memclass() an inline functino

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jun 02 2002 - 20:09:21 EST


On Mon, 2002-06-03 at 00:33, William Lee Irwin III wrote:
> memclass is too large to be a #define; it overflows 80 columns and does
> not make use of facilities available only to macros.
>
> This patch convert memclass() to be an inline function.

Exercise care when doing this. Gcc sometimes optimises macros better
than it optimises inline functions

-
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 : Fri Jun 07 2002 - 22:00:13 EST