diff options
| author | Keith M. Wesolowski <wesolows@foobazco.org> | 2004-04-02 02:30:51 -0800 |
|---|---|---|
| committer | Keith M. Wesolowski <wesolows@foobazco.org> | 2004-04-02 02:30:51 -0800 |
| commit | b92e4f815d49cd0f364fd9d0724c2a709d565f7d (patch) | |
| tree | c65514773c484d7aa478e21fd5f5c9f57f22afee | |
| parent | 9be7dd12633056b6ded4383f9b801f141e2df7fc (diff) | |
[SPARC32]: Fix wraparound bug in bitmap allocator
| -rw-r--r-- | arch/sparc/lib/bitext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/bitext.c b/arch/sparc/lib/bitext.c index 9f9553b7ea8c..7f1bf90bb92c 100644 --- a/arch/sparc/lib/bitext.c +++ b/arch/sparc/lib/bitext.c @@ -60,8 +60,8 @@ int bit_map_string_get(struct bit_map *t, int len, int align) } if (offset + len > t->size) { - offset = 0; count += t->size - offset; + offset = 0; continue; } |
