aboutsummaryrefslogtreecommitdiff
path: root/block/snapshot.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2015-08-25 17:13:01 +0200
committerLaurent Vivier <lvivier@redhat.com>2015-09-25 14:56:05 +0200
commit0a4f9240f5b8b1bfe2d5c5c2748545bc23771bb4 (patch)
tree31b198f7c8c1d4bbdb0530278766a422c8a0bc2c /block/snapshot.c
parent352c98e502893dee405d0bd8301264fca3b79179 (diff)
hpet: remove muldiv64()
hpet defines a clock period in femtoseconds but then converts it to nanoseconds to use the internal timers. We can define the period in nanoseconds and use it directly, this allows to remove muldiv64(). We only need to convert the period to femtoseconds to put it in internal hpet capability register. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/snapshot.c')
0 files changed, 0 insertions, 0 deletions