Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191806
b: refs/heads/master
c: 861248d
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Apr 29, 2010
1 parent b6b2fdf commit 295acef
Show file tree
Hide file tree
Showing 5 changed files with 7 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: 13edd86d7a8b64735c60c308faac785a6f2257b2
refs/heads/master: 861248d177145fc5861507e4607fec89fd0a0462
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-integrator/common.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
extern void integrator_time_init(unsigned long, unsigned int);
extern void integrator_time_init(u32, unsigned int);
6 changes: 3 additions & 3 deletions trunk/arch/arm/mach-integrator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@ static void integrator_clockevent_init(u32 khz, unsigned int ctrl)
/*
* Set up timer(s).
*/
void __init integrator_time_init(unsigned long reload, unsigned int ctrl)
void __init integrator_time_init(u32 khz, unsigned int ctrl)
{
writel(0, TIMER0_VA_BASE + TIMER_CTRL);
writel(0, TIMER1_VA_BASE + TIMER_CTRL);
writel(0, TIMER2_VA_BASE + TIMER_CTRL);

integrator_clocksource_init(reload * HZ / 1000);
integrator_clockevent_init(reload * HZ / 1000, ctrl);
integrator_clocksource_init(khz);
integrator_clockevent_init(khz, ctrl);
}
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-integrator/integrator_ap.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ static void __init ap_init(void)

static void __init ap_init_timer(void)
{
integrator_time_init(1000000 * TICKS_PER_uSEC / HZ, 0);
integrator_time_init(TICKS_PER_uSEC * 1000, 0);
}

static struct sys_timer ap_timer = {
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-integrator/integrator_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ static void __init intcp_init(void)

static void __init intcp_timer_init(void)
{
integrator_time_init(1000000 / HZ, TIMER_CTRL_IE);
integrator_time_init(1000, TIMER_CTRL_IE);
}

static struct sys_timer cp_timer = {
Expand Down

0 comments on commit 295acef

Please sign in to comment.