tools-sync-bitmap_last_word_mask-macro-with-the-kernel.patch removed from -mm tree
The patch titled
Subject: tools: sync BITMAP_LAST_WORD_MASK() macro with the kernel
has been removed from the -mm tree. Its filename was
tools-sync-bitmap_last_word_mask-macro-with-the-kernel.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Yury Norov <[email protected]>
Subject: tools: sync BITMAP_LAST_WORD_MASK() macro with the kernel
Kernel version generates better code.
Signed-off-by Yury Norov <[email protected]>
Acked-by Rasmus Villemoes <[email protected]>
Cc Alexey Klimov <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc David Sterba <[email protected]>
Cc Dennis Zhou <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Jianpeng Ma <[email protected]>
Cc Joe Perches <[email protected]>
Cc John Paul Adrian Glaubitz <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Rich Felker <[email protected]>
Cc Stefano Brivio <[email protected]>
Cc Wei Yang <[email protected]>
Cc Wolfram Sang <[email protected]>
Cc Yoshinori Sato <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
tools/include/linux/bitmap.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
tools/include/linux/bitmap.h renamed from tools/include/linux/bitmap.h~tools-sync-bitmap_last_word_mask-macro-with-the-kernel +1 -6
@@ -20,12 +20,7 @@ int __bitmap_equal(const unsigned long *void bitmap_clear (unsigned long *map,unsigned int start,int len);#define BITMAP_FIRST_WORD_MASK (start) (~0UL << ((start) & (BITS_PER_LONG - 1))) - -#define BITMAP_LAST_WORD_MASK (nbits) \ -( \ - ((nbits) % BITS_PER_LONG) ? \ - (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \ -) +#define BITMAP_LAST_WORD_MASK (nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1)))#define small_const_nbits (nbits) \ (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
_
Patches currently in -mm which might be from [email protected] are