Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45170
b: refs/heads/master
c: 35108fb
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Dec 30, 2006
1 parent 74e114e commit fcd0329
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2ca2c570b0e38b0c214426b1708ee1b0c3a5067d
refs/heads/master: 35108fb9b3f291b594a8019cb9188da6be2f7990
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-pxa/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static struct irqaction pxa_timer_irq = {
.handler = pxa_timer_interrupt,
};

cycle_t pxa_get_cycles(void)
static cycle_t pxa_get_cycles(void)
{
return OSCR;
}
Expand Down Expand Up @@ -134,13 +134,13 @@ static void __init pxa_timer_init(void)
OSMR0 = OSCR + LATCH; /* set initial match */
local_irq_restore(flags);

/* on PXA OSCR runs continiously and is not written to, so we can use it
* as clock source directly.
/*
* OSCR runs continuously on PXA and is not written to,
* so we can use it as clock source directly.
*/
clocksource_pxa.mult =
clocksource_hz2mult(CLOCK_TICK_RATE, clocksource_pxa.shift);
clocksource_register(&clocksource_pxa);

}

#ifdef CONFIG_NO_IDLE_HZ
Expand Down

0 comments on commit fcd0329

Please sign in to comment.