Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277426
b: refs/heads/master
c: 027f6ad
h: refs/heads/master
v: v3
  • Loading branch information
John Stultz authored and John Stultz committed Nov 22, 2011
1 parent 3718d24 commit 7389aca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: a139723bec122053a94c80596c8b991b860ffb91
refs/heads/master: 027f6ad7bfa97cf8f75e9d81c15256d828eb0809
4 changes: 1 addition & 3 deletions trunk/arch/cris/arch-v32/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,12 @@ static struct clocksource cont_rotime = {
.rating = 300,
.read = read_cont_rotime,
.mask = CLOCKSOURCE_MASK(32),
.shift = 10,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

static int __init etrax_init_cont_rotime(void)
{
cont_rotime.mult = clocksource_khz2mult(100000, cont_rotime.shift);
clocksource_register(&cont_rotime);
clocksource_register_khz(&cont_rotime, 100000);
return 0;
}
arch_initcall(etrax_init_cont_rotime);
Expand Down

0 comments on commit 7389aca

Please sign in to comment.