diff options
author | 2014-08-06 16:10:18 -0700 | |
---|---|---|
committer | 2014-08-06 18:01:26 -0700 | |
commit | 2ac521d3325a24f01c1f1e86c74537b831d282c5 (patch) | |
tree | fd89c8c59ad2a864b1b72fbb2b9c8a286c6ccd3c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lib: bitmap: change parameter of bitmap_*_region to unsigned (diff) | |
download | linux-dev-2ac521d3325a24f01c1f1e86c74537b831d282c5.tar.xz linux-dev-2ac521d3325a24f01c1f1e86c74537b831d282c5.zip |
lib: bitmap: micro-optimize bitmap_allocate_region
__reg_op(..., REG_OP_ALLOC) always returns 0, so we might as well use that
and save an instruction.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions