summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSifan Naeem <sifan.naeem@imgtec.com>2015-09-10 17:50:03 +0300
committerWolfram Sang <wsa@the-dreams.de>2015-10-10 10:38:31 +0300
commit5728d95f2458887ae3d95547c04352bba5080ad6 (patch)
treea21c9ae19572490838ed3928145abc70daa8b799 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2aefb1bd4101235be7d9f0d5ac8d56aa979f6081 (diff)
downloadlinux-5728d95f2458887ae3d95547c04352bba5080ad6.tar.xz
i2c: img-scb: use DIV_ROUND_UP to round divisor values
Using % can be slow depending on the architecture. Using DIV_ROUND_UP is nicer and more efficient way to do it. Fixes: commit 27bce457d588 ("i2c: img-scb: Add Imagination Technologies I2C SCB driver") Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com> Acked-by: James Hogan <james.hogan@imgtec.com> Reviewed-by: James Hartley <james.hartley@imgtec.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions