Re: [PATCH 7/10] compiler{,-gcc4}.h: Introduce __flatten functionattribute

From: David Rientjes
Date: Wed Oct 03 2012 - 02:49:05 EST


On Fri, 28 Sep 2012, Josh Triplett wrote:

> That issue doesn't relate to __flatten, though; it only relates to
> __weak. Since __flatten (and __compiletime_object_size) will work fine
> on 4.1.0 and 4.1.1, don't exclude them just because the definition for
> __weak elsewhere in the file excludes them. That just makes it harder
> for anyone who might want to work on the issue with __weak.
>

Nack to the patch since there are no users of it; there's no need to
define every possible gcc function attribute. If anything actually needs
to use __attribute__((flatten)), then it can introduce it.
--
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/