commit | 0a4f9240f5b8b1bfe2d5c5c2748545bc23771bb4 | [log] [tgz] |
---|---|---|
author | Laurent Vivier <lvivier@redhat.com> | Tue Aug 25 17:13:01 2015 +0200 |
committer | Laurent Vivier <lvivier@redhat.com> | Fri Sep 25 14:56:05 2015 +0200 |
tree | 31b198f7c8c1d4bbdb0530278766a422c8a0bc2c | |
parent | 352c98e502893dee405d0bd8301264fca3b79179 [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>