aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-10 23:55:59 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-10 23:55:59 +0000
commit56949d414acd30353fdba4b64876a0a7953a7b77 (patch)
tree7fb58dd19c6ab12480cb82f8b8a2b9141da1d905 /tools/perf/util/scripting-engines/trace-event-python.c
parentMerge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 (diff)
downloadwireguard-linux-56949d414acd30353fdba4b64876a0a7953a7b77.tar.xz
wireguard-linux-56949d414acd30353fdba4b64876a0a7953a7b77.zip
ARM: udelay: prevent math rounding resulting in short udelays
We perform the microseconds to loops calculation using a number of multiplies and shift rights. Each shift right rounds down the resulting value, which can result in delays shorter than requested. Ensure that we always round up. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions