Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262829
b: refs/heads/master
c: 71c0c34
h: refs/heads/master
i:
  262827: d8c6425
v: v3
  • Loading branch information
Lennert Buytenhek authored and Eric Miao committed Aug 11, 2011
1 parent 0dbf262 commit f244c58
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: 7ce5ae39c46f159aee3b3427844f1491e1ccac74
refs/heads/master: 71c0c341403cb141e3580817947e56a4386db4c8
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-mmp/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ static inline uint32_t timer_read(void)
{
int delay = 100;

__raw_writel(1, TIMERS_VIRT_BASE + TMR_CVWR(0));
__raw_writel(1, TIMERS_VIRT_BASE + TMR_CVWR(1));

while (delay--)
cpu_relax();

return __raw_readl(TIMERS_VIRT_BASE + TMR_CVWR(0));
return __raw_readl(TIMERS_VIRT_BASE + TMR_CVWR(1));
}

unsigned long long notrace sched_clock(void)
Expand Down

0 comments on commit f244c58

Please sign in to comment.