diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-02-05 04:00:55 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-02-05 04:00:55 +0000 |
commit | d0a09ee159f618321ade9364ccf8b823779b0ffe (patch) | |
tree | 50fb6c17ccc1b018672b5240d334134fc0215ce8 /sys/i386/xen | |
parent | e967ffe3bbb9cff82f315ac508f155f748dcb294 (diff) | |
download | FreeBSD-src-d0a09ee159f618321ade9364ccf8b823779b0ffe.zip FreeBSD-src-d0a09ee159f618321ade9364ccf8b823779b0ffe.tar.gz |
pass in smp_processor_id to identify the cpu in use
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c index ed16351..acdf8da 100644 --- a/sys/i386/xen/clock.c +++ b/sys/i386/xen/clock.c @@ -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); |