Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225815
b: refs/heads/master
c: 4f9272b
h: refs/heads/master
i:
  225813: 09566e7
  225811: ffe7a4b
  225807: dac4eba
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent 5ee99ff commit 6f30623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: ff9c9772480f06bc7164217b93ebb99fc088539f
refs/heads/master: 4f9272bfe8fca7e6d9e2f44eb78fd2c3ecdf9a0e
5 changes: 1 addition & 4 deletions trunk/arch/arm/mach-netx/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ static struct clocksource clocksource_netx = {
.rating = 200,
.read = netx_get_cycles,
.mask = CLOCKSOURCE_MASK(32),
.shift = 20,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

Expand Down Expand Up @@ -151,9 +150,7 @@ static void __init netx_timer_init(void)
writel(NETX_GPIO_COUNTER_CTRL_RUN,
NETX_GPIO_COUNTER_CTRL(TIMER_CLOCKSOURCE));

clocksource_netx.mult =
clocksource_hz2mult(CLOCK_TICK_RATE, clocksource_netx.shift);
clocksource_register(&clocksource_netx);
clocksource_register_hz(&clocksource_netx, CLOCK_TICK_RATE);

netx_clockevent.mult = div_sc(CLOCK_TICK_RATE, NSEC_PER_SEC,
netx_clockevent.shift);
Expand Down

0 comments on commit 6f30623

Please sign in to comment.