Messages in this thread | | | Subject | Re: make memclass() an inline functino | From | Alan Cox <> | Date | 03 Jun 2002 02:09:21 +0100 |
| |
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/
| |