Fix a minor warning in sys/i386/xen/clock.c.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2012-11-12 20:50:11 +00:00
parent e10f650296
commit bdea742cf7

View File

@ -516,7 +516,7 @@ startrtclock()
__cpu_khz = 1000000ULL << 32;
info = &HYPERVISOR_shared_info->vcpu_info[0].time;
do_div(__cpu_khz, info->tsc_to_system_mul);
(void)do_div(__cpu_khz, info->tsc_to_system_mul);
if ( info->tsc_shift < 0 )
cpu_khz = __cpu_khz << -info->tsc_shift;
else