aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2010-06-29 15:05:15 -0700
committerLinus Torvalds <[email protected]>2010-06-29 15:29:30 -0700
commite621ba9932aa0a90e47c12c958b3a3104915f3b9 (patch)
tree2481974f86f41cb47322fe52e6390f9db5d97968 /tools/perf/util/scripting-engines/trace-event-python.c
parent984bc9601f64fd341b8573021d7c999f1f1499a9 (diff)
genalloc: fix allocation from end of pool
bitmap_find_next_zero_area requires the size of the bitmap, we instead passed the last suitable position. This made it impossible to allocate from the end of the pool. Fixes a regression introduced by 243797f59b748f679ab88d456fcc4f92236d724b ("genalloc: use bitmap_find_next_zero_area"). Signed-off-by: Imre Deak <[email protected]> Cc: Zygo Blaxell <[email protected]> Cc: Tejun Heo <[email protected]> Acked-by: Akinobu Mita <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions