summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>2015-11-17 22:06:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 15:40:18 -0800
commit71872e9cc2af4dca1903ebc57daa15f08c795d86 (patch)
treebd8adf94bf6fa96760e6bc2fb040615cb06af2c2 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd2d32738ded3825a6608e0d34e276c30c96e63b2 (diff)
staging: lustre: hash.c: Replace IS_PO2 by is_power_of_2
Replaces IS_PO2 by is_power_of_2. It is more accurate to use is_power_of_2 since it returns 1 for numbers that are powers of 2 only whereas IS_PO2 returns 1 for 0 and numbers that are powers of 2. Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions