Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263778
b: refs/heads/master
c: 2f4d321
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Sep 13, 2011
1 parent 89e0c18 commit a2c3b76
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: 38c0a0c9ae0d145d72c6865f4aec1107aef81310
refs/heads/master: 2f4d3218e95d48de2951dcf2bea619ea49ef93de
5 changes: 3 additions & 2 deletions trunk/arch/x86/xen/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ cycle_t xen_clocksource_read(void)
struct pvclock_vcpu_time_info *src;
cycle_t ret;

src = &get_cpu_var(xen_vcpu)->time;
preempt_disable_notrace();
src = &__get_cpu_var(xen_vcpu)->time;
ret = pvclock_clocksource_read(src);
put_cpu_var(xen_vcpu);
preempt_enable_notrace();
return ret;
}

Expand Down

0 comments on commit a2c3b76

Please sign in to comment.