Re: [tip:x86/mm] x86, mm: Use a bitfield to mask nuisance get_user() warnings

From: Linus Torvalds
Date: Tue Feb 12 2013 - 12:33:20 EST


On Tue, Feb 12, 2013 at 9:14 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>
> No, I think what he is talking about it this bit:

Ok, I agree that the bitfield code actually looks cleaner.

That said, maybe gcc has an easier time using a few odd builtins and
magic typeof's. But at least the bitfield trick looks half-way
portable..

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