projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools: rename bitmap_alloc() to bitmap_zalloc()
[linux-2.6-microblaze.git]
/
tools
/
include
/
linux
/
bitmap.h
diff --git
a/tools/include/linux/bitmap.h
b/tools/include/linux/bitmap.h
index
9d959bc
..
95611df
100644
(file)
--- a/
tools/include/linux/bitmap.h
+++ b/
tools/include/linux/bitmap.h
@@
-111,10
+111,10
@@
static inline int test_and_clear_bit(int nr, unsigned long *addr)
}
/**
}
/**
- * bitmap_alloc - Allocate bitmap
+ * bitmap_
z
alloc - Allocate bitmap
* @nbits: Number of bits
*/
* @nbits: Number of bits
*/
-static inline unsigned long *bitmap_alloc(int nbits)
+static inline unsigned long *bitmap_
z
alloc(int nbits)
{
return calloc(1, BITS_TO_LONGS(nbits) * sizeof(unsigned long));
}
{
return calloc(1, BITS_TO_LONGS(nbits) * sizeof(unsigned long));
}