Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275652
b: refs/heads/master
c: 95ef1e5
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity committed Nov 20, 2011
1 parent 77dcb5b commit fc8fbbf
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bb75c627fb0dfb8c0ab75d3033709ff928896e16
refs/heads/master: 95ef1e52922cf75b1ea2eae54ef886f2cc47eecb
5 changes: 3 additions & 2 deletions trunk/arch/x86/kernel/kvmclock.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ static cycle_t kvm_clock_read(void)
struct pvclock_vcpu_time_info *src;
cycle_t ret;

src = &get_cpu_var(hv_clock);
preempt_disable_notrace();
src = &__get_cpu_var(hv_clock);
ret = pvclock_clocksource_read(src);
put_cpu_var(hv_clock);
preempt_enable_notrace();
return ret;
}

Expand Down

0 comments on commit fc8fbbf

Please sign in to comment.