Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146772
b: refs/heads/master
c: 780f98f
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed May 11, 2009
1 parent 39aec19 commit e4ef5b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: d9d674e50007362567edb5df65c05dd56a5964bf
refs/heads/master: 780f98ff1fa9cfcab177f6b5ab09b11321f1e5c8
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ unsigned long long sched_clock(void)

/* jiffies based sched_clock if no clocksource is installed */
if (!clocksource_sh.rating)
return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ);
return (jiffies_64 - INITIAL_JIFFIES) * (NSEC_PER_SEC / HZ);

cycles = clocksource_sh.read(&clocksource_sh);
return cyc2ns(&clocksource_sh, cycles);
Expand Down

0 comments on commit e4ef5b3

Please sign in to comment.