Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177322
b: refs/heads/master
c: c768a94
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger committed Dec 15, 2009
1 parent 7327a81 commit 74a4af4
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 99e452e5d3f0066307a28e3a6f06b4b51f0e1594
refs/heads/master: c768a943fd8f41f5f7ed33c91d50818b301f5635
6 changes: 4 additions & 2 deletions trunk/arch/blackfin/kernel/time-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ static struct clocksource bfin_cs_cycles = {

static inline unsigned long long bfin_cs_cycles_sched_clock(void)
{
return cyc2ns(&bfin_cs_cycles, bfin_read_cycles(&bfin_cs_cycles));
return clocksource_cyc2ns(bfin_read_cycles(&bfin_cs_cycles),
bfin_cs_cycles.mult, bfin_cs_cycles.shift);
}

static int __init bfin_cs_cycles_init(void)
Expand Down Expand Up @@ -111,7 +112,8 @@ static struct clocksource bfin_cs_gptimer0 = {

static inline unsigned long long bfin_cs_gptimer0_sched_clock(void)
{
return cyc2ns(&bfin_cs_gptimer0, bfin_read_TIMER0_COUNTER());
return clocksource_cyc2ns(bfin_read_TIMER0_COUNTER(),
bfin_cs_gptimer0.mult, bfin_cs_gptimer0.shift);
}

static int __init bfin_cs_gptimer0_init(void)
Expand Down

0 comments on commit 74a4af4

Please sign in to comment.