Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243459
b: refs/heads/master
c: ccc46e2
h: refs/heads/master
i:
  243457: 9486bac
  243455: 52c587e
v: v3
  • Loading branch information
Haojian Zhuang authored and Eric Miao committed Mar 16, 2011
1 parent aeca609 commit 09a01c9
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4321e1a12b811c02441240aa6183156791204f3f
refs/heads/master: ccc46e29a63c88aa9ac72aac86ff0cfd5c627a11
5 changes: 2 additions & 3 deletions trunk/arch/arm/mach-pxa/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ pxa_osmr0_set_mode(enum clock_event_mode mode, struct clock_event_device *dev)
static struct clock_event_device ckevt_pxa_osmr0 = {
.name = "osmr0",
.features = CLOCK_EVT_FEAT_ONESHOT,
.shift = 32,
.rating = 200,
.set_next_event = pxa_osmr0_set_next_event,
.set_mode = pxa_osmr0_set_mode,
Expand Down Expand Up @@ -135,8 +134,8 @@ static void __init pxa_timer_init(void)

init_sched_clock(&cd, pxa_update_sched_clock, 32, clock_tick_rate);

ckevt_pxa_osmr0.mult =
div_sc(clock_tick_rate, NSEC_PER_SEC, ckevt_pxa_osmr0.shift);
clocksource_calc_mult_shift(&cksrc_pxa_oscr0, clock_tick_rate, 4);
clockevents_calc_mult_shift(&ckevt_pxa_osmr0, clock_tick_rate, 4);
ckevt_pxa_osmr0.max_delta_ns =
clockevent_delta2ns(0x7fffffff, &ckevt_pxa_osmr0);
ckevt_pxa_osmr0.min_delta_ns =
Expand Down

0 comments on commit 09a01c9

Please sign in to comment.