Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343532
b: refs/heads/master
c: b01578d
h: refs/heads/master
v: v3
  • Loading branch information
Marcelo Tosatti committed Nov 28, 2012
1 parent 436b4ba commit 3e748df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7069ed67635b8d574541af426d752cd7fbd465a6
refs/heads/master: b01578de45614c085be319229a52774b61ffe6fb
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/pvclock.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src)

do {
version = pvclock_get_time_values(&shadow, src);
barrier();
rdtsc_barrier();
offset = pvclock_get_nsec_offset(&shadow);
ret = shadow.system_timestamp + offset;
barrier();
rdtsc_barrier();
} while (version != src->version);

if ((valid_flags & PVCLOCK_TSC_STABLE_BIT) &&
Expand Down

0 comments on commit 3e748df

Please sign in to comment.