Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334833
b: refs/heads/master
c: ad17a26
h: refs/heads/master
i:
  334831: 7c3fdbb
v: v3
  • Loading branch information
Linus Walleij authored and Russell King committed Oct 22, 2012
1 parent 5fa3e3f commit 63de618
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5f40b909728ad784eb43aa309d3c4e9bdf050781
refs/heads/master: ad17a26e2273d18d27fcbb4a8d8a341ebb2d721f
4 changes: 2 additions & 2 deletions trunk/arch/arm/kernel/smp_twd.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ static void twd_set_mode(enum clock_event_mode mode,

switch (mode) {
case CLOCK_EVT_MODE_PERIODIC:
/* timer load already set up */
ctrl = TWD_TIMER_CONTROL_ENABLE | TWD_TIMER_CONTROL_IT_ENABLE
| TWD_TIMER_CONTROL_PERIODIC;
__raw_writel(twd_timer_rate / HZ, twd_base + TWD_TIMER_LOAD);
__raw_writel(DIV_ROUND_CLOSEST(twd_timer_rate, HZ),
twd_base + TWD_TIMER_LOAD);
break;
case CLOCK_EVT_MODE_ONESHOT:
/* period set, and timer enabled in 'next_event' hook */
Expand Down

0 comments on commit 63de618

Please sign in to comment.