projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib, Make gen_pool memory allocator lockless
[linux-2.6-block.git]
/
lib
/
bitmap.c
diff --git
a/lib/bitmap.c
b/lib/bitmap.c
index 3f3b68199d744bd4fc9b94dcb9ca6e831502b0f2..e3c9e999501e43f8ae0a66876c869c45bdaaf923 100644
(file)
--- a/
lib/bitmap.c
+++ b/
lib/bitmap.c
@@
-271,8
+271,6
@@
int __bitmap_weight(const unsigned long *bitmap, int bits)
}
EXPORT_SYMBOL(__bitmap_weight);
-#define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) % BITS_PER_LONG))
-
void bitmap_set(unsigned long *map, int start, int nr)
{
unsigned long *p = map + BIT_WORD(start);