diff options
author | 2015-12-16 17:45:32 +0800 | |
---|---|---|
committer | 2015-12-16 13:03:20 +0000 | |
commit | fcac0233d89ddce72945f3e0afaf4680572d8525 (patch) | |
tree | 054bd99f62932abc78b5ca24493cdd67a1156384 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regmap: Fix leftover from struct reg_default to struct reg_sequence change (diff) | |
download | linux-dev-fcac0233d89ddce72945f3e0afaf4680572d8525.tar.xz linux-dev-fcac0233d89ddce72945f3e0afaf4680572d8525.zip |
regmap: use IS_ALIGNED instead of % to improve the performance
The stride value should always equal to 2^n, so we can use bit
rotation instead of % to improve the performance.
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions