svn commit: r188138 - head/sys/i386/xen

Kip Macy kmacy at FreeBSD.org
Wed Feb 4 20:00:56 PST 2009


Author: kmacy
Date: Thu Feb  5 04:00:55 2009
New Revision: 188138
URL: http://svn.freebsd.org/changeset/base/188138

Log:
  pass in smp_processor_id to identify the cpu in use

Modified:
  head/sys/i386/xen/clock.c

Modified: head/sys/i386/xen/clock.c
==============================================================================
--- head/sys/i386/xen/clock.c	Thu Feb  5 02:16:05 2009	(r188137)
+++ head/sys/i386/xen/clock.c	Thu Feb  5 04:00:55 2009	(r188138)
@@ -352,7 +352,7 @@ getit(void)
 	  local_time_version = shadow->version;
 	  barrier();
 	  time = shadow->system_timestamp + get_nsec_offset(shadow);
-	  if (!time_values_up_to_date(cpu))
+	  if (!time_values_up_to_date(smp_processor_id()))
 	    __get_time_values_from_xen(/*cpu */);
 	  barrier();
 	} while (local_time_version != shadow->version);


More information about the svn-src-head mailing list