Commit b92e4f81 authored by Keith M. Wesolowski's avatar Keith M. Wesolowski

[SPARC32]: Fix wraparound bug in bitmap allocator

parent 9be7dd12
...@@ -60,8 +60,8 @@ int bit_map_string_get(struct bit_map *t, int len, int align) ...@@ -60,8 +60,8 @@ int bit_map_string_get(struct bit_map *t, int len, int align)
} }
if (offset + len > t->size) { if (offset + len > t->size) {
offset = 0;
count += t->size - offset; count += t->size - offset;
offset = 0;
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment