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
lib/sbitmap: allocate sb->map via kvzalloc_node
[linux-2.6-microblaze.git]
/
include
/
linux
/
sbitmap.h
diff --git
a/include/linux/sbitmap.h
b/include/linux/sbitmap.h
index
dffeb82
..
8f5a86e
100644
(file)
--- a/
include/linux/sbitmap.h
+++ b/
include/linux/sbitmap.h
@@
-174,7
+174,7
@@
static inline unsigned int __map_depth(const struct sbitmap *sb, int index)
static inline void sbitmap_free(struct sbitmap *sb)
{
free_percpu(sb->alloc_hint);
- kfree(sb->map);
+ k
v
free(sb->map);
sb->map = NULL;
}