diff options
author | Andrew Jeffery | 2019-12-20 15:02:59 +0100 |
---|---|---|
committer | Peter Maydell | 2019-12-20 15:02:59 +0100 |
commit | 4a0245b62502ee9ca7774712de4bb05d9bf47152 (patch) | |
tree | 53589146972e5fd65d7cc7bad9e88521c5ef75be /target/arm/cpu.h | |
parent | Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-reques... (diff) | |
download | qemu-4a0245b62502ee9ca7774712de4bb05d9bf47152.tar.gz qemu-4a0245b62502ee9ca7774712de4bb05d9bf47152.tar.xz qemu-4a0245b62502ee9ca7774712de4bb05d9bf47152.zip |
target/arm: Remove redundant scaling of nexttick
The corner-case codepath was adjusting nexttick such that overflow
wouldn't occur when timer_mod() scaled the value back up. Remove a use
of GTIMER_SCALE and avoid unnecessary operations by calling
timer_mod_ns() directly.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-id: f8c680720e3abe55476e6d9cb604ad27fdbeb2e0.1576215453.git-series.andrew@aj.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
0 files changed, 0 insertions, 0 deletions