[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FBD10D5.6080602@zytor.com>
Date: Wed, 23 May 2012 09:31:17 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC: Borislav Petkov <borislav.petkov@....com>, mingo@...nel.org,
linux-kernel@...r.kernel.org, frank.arnold@....com,
akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
tglx@...utronix.de, linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/mce] x86/bitops: Move BIT_64() for a wider use
>>
>> Actually we need a BIT() macro that works both
>> on 32- and 64-bit. But that won't be that easy:
>> http://lkml.indiana.edu/hypermail/linux/kernel/1010.1/02335.html
>>
>> And it should return UL for shift values < 32 and ULL otherwise.
>
Why do you want that behavior? That seems bizarre...
-hpa
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists