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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to