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
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
[linux-2.6-microblaze.git]
/
lib
/
genalloc.c
diff --git
a/lib/genalloc.c
b/lib/genalloc.c
index
9a57257
..
00fc50d
100644
(file)
--- a/
lib/genalloc.c
+++ b/
lib/genalloc.c
@@
-251,7
+251,7
@@
void gen_pool_destroy(struct gen_pool *pool)
list_del(&chunk->next_chunk);
end_bit = chunk_size(chunk) >> order;
- bit = find_
next_bit(chunk->bits, end_bit, 0
);
+ bit = find_
first_bit(chunk->bits, end_bit
);
BUG_ON(bit < end_bit);
vfree(chunk);