Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355826
b: refs/heads/master
c: 1dac0dd
h: refs/heads/master
v: v3
  • Loading branch information
Mark Rutland committed Jan 31, 2013
1 parent 4dd1e87 commit 081a491
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8a4da6e36c582ff746191eca85b6c1c068dbfbd6
refs/heads/master: 1dac0dd71cdda2bd7395dd47a6b617ed296d4901
2 changes: 2 additions & 0 deletions trunk/arch/arm64/include/asm/arm_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ static inline cycle_t arch_counter_get_cntpct(void)
{
cycle_t cval;

isb();
asm volatile("mrs %0, cntpct_el0" : "=r" (cval));

return cval;
Expand All @@ -92,6 +93,7 @@ static inline cycle_t arch_counter_get_cntvct(void)
{
cycle_t cval;

isb();
asm volatile("mrs %0, cntvct_el0" : "=r" (cval));

return cval;
Expand Down

0 comments on commit 081a491

Please sign in to comment.