aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/core-dc232b
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-05-29 03:35:24 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-08-09 18:42:38 +0000
commit8227421e0476d9caf2a9a089465bb40c23834e33 (patch)
treef0c3aea6d5c3a06b4ff691dac0e790e389f8effc /target-xtensa/core-dc232b
parent82e5d464146e69789329cf860685d22db6a64862 (diff)
qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX
qemu_rearm_alarm_timer partially duplicates the code in qemu_next_alarm_deadline to figure out if it needs to rearm the timer. If it calls qemu_next_alarm_deadline, it always rearms the timer even if the next deadline is INT64_MAX. This patch simplifies the behavior of qemu_rearm_alarm_timer and removes the duplicated code, always calling qemu_next_alarm_deadline and only rearming the timer if the deadline is less than INT64_MAX. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Tested-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/core-dc232b')
0 files changed, 0 insertions, 0 deletions