Re: [tip:x86/mm] x86, mm: Use a bitfield to mask nuisance get_user()warnings
From: H. Peter Anvin
Date: Tue Feb 12 2013 - 12:35:56 EST
On 02/12/2013 09:32 AM, Linus Torvalds wrote:
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
On the other hand, it still uses two gcc extensions: long long bitfields
I'll see what kind of code we get with the macro.
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
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/