1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242931

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