Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312221
b: refs/heads/master
c: 1ff4d58
h: refs/heads/master
i:
  312219: c2958df
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Jun 6, 2012
1 parent 03ab2f5 commit 6a4337c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c2ac3fde3e35279958e7b0408e2dcf866465301
refs/heads/master: 1ff4d58a192aea7f245981e2579765f961f6eb9c
2 changes: 2 additions & 0 deletions trunk/arch/x86/include/asm/msr.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ do { \
(high) = (u32)(_l >> 32); \
} while (0)

#define rdpmcl(counter, val) ((val) = native_read_pmc(counter))

#define rdtscp(low, high, aux) \
do { \
unsigned long long _val = native_read_tscp(&(aux)); \
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/include/asm/paravirt.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ do { \
high = _l >> 32; \
} while (0)

#define rdpmcl(counter, val) ((val) = paravirt_read_pmc(counter))

static inline unsigned long long paravirt_rdtscp(unsigned int *aux)
{
return PVOP_CALL1(u64, pv_cpu_ops.read_tscp, aux);
Expand Down

0 comments on commit 6a4337c

Please sign in to comment.