Re: {PATCH] fix __packed in exported kernel headers

From: H. Peter Anvin
Date: Thu Jun 30 2011 - 14:34:00 EST


On 06/24/2011 10:00 AM, Mike Frysinger wrote:
>>
>> We generally try to add no such requirements on user applications.
>
> the only real solution there is to export the compiler.h headers too
>
> plus, many compilers nowadays (like icc/llvm) tend to include support
> for common gcc attributes ...

Either that OR define a set of macros as being expected by the
environment of the kernel ABI headers (to be provided by the library.)

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