svn commit: r243067 - stable/9/sys/i386/xen

Dimitry Andric dim at FreeBSD.org
Thu Nov 15 07:36:39 UTC 2012


Author: dim
Date: Thu Nov 15 07:36:38 2012
New Revision: 243067
URL: http://svnweb.freebsd.org/changeset/base/243067

Log:
  MFC r242931:
  
  Fix a minor warning in sys/i386/xen/clock.c.

Modified:
  stable/9/sys/i386/xen/clock.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/i386/xen/clock.c
==============================================================================
--- stable/9/sys/i386/xen/clock.c	Thu Nov 15 06:58:18 2012	(r243066)
+++ stable/9/sys/i386/xen/clock.c	Thu Nov 15 07:36:38 2012	(r243067)
@@ -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


More information about the svn-src-stable-9 mailing list