Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279796
b: refs/heads/master
c: 54d15b1
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij authored and Russell King committed Dec 23, 2011
1 parent 431f590 commit 773c3a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: c41584ddc1b9c7d06726057456d188d4eefec60b
refs/heads/master: 54d15b1d7ac550ecd8ab6b04309c2def614f8c80
8 changes: 2 additions & 6 deletions trunk/arch/arm/kernel/smp_twd.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,11 @@ void __cpuinit twd_timer_setup(struct clock_event_device *clk)
clk->rating = 350;
clk->set_mode = twd_set_mode;
clk->set_next_event = twd_set_next_event;
clk->shift = 20;
clk->mult = div_sc(twd_timer_rate, NSEC_PER_SEC, clk->shift);
clk->max_delta_ns = clockevent_delta2ns(0xffffffff, clk);
clk->min_delta_ns = clockevent_delta2ns(0xf, clk);

this_cpu_clk = __this_cpu_ptr(twd_evt);
*this_cpu_clk = clk;

clockevents_register_device(clk);

clockevents_config_and_register(clk, twd_timer_rate,
0xf, 0xffffffff);
enable_percpu_irq(clk->irq, 0);
}

0 comments on commit 773c3a9

Please sign in to comment.