Re: [PATCH] Use more gcc extensions in the Linux headers

From: Andi Kleen
Date: Fri Mar 09 2007 - 10:53:01 EST


Rusty Russell <rusty@xxxxxxxxxxxxxxx> writes:

> __builtin_types_compatible_p() has been around since gcc 2.95, and we
> don't use it anywhere. This patch quietly fixes that.

Using BUILD_BUG_ON_ZERO() would have been somewhat cleaner.

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