Fix a minor warning in sys/i386/xen/clock.c.
MFC after: 3 days
This commit is contained in:
parent
e10f650296
commit
bdea742cf7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user