Re: [RFC PATCH 3/5] asm-generic/bitops/atomic.h: Rewrite using atomic_fetch_*
From: Peter Zijlstra
Date: Fri Feb 16 2018 - 09:18:39 EST
On Fri, Feb 16, 2018 at 11:35:20AM +0100, Peter Zijlstra wrote:
> #define BIT_U32_MASK(nr) (1UL << ((nr) % 32))
> #define BIT_U32_WORD(nr) (((nr) / 32) ^ (4 * __BIG_ENDIAN__))
s/4 *//
it's already a 4 byte offset.