--- zzzz-none-000/linux-2.6.19.2/arch/mips/gt64120/common/time.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/arch/mips/gt64120/common/time.c 2007-01-11 07:38:19.000000000 +0000 @@ -64,14 +64,14 @@ * as *irq (=irq0 in ../kernel/time.c). We will do our own timer interrupt * handling. */ -void __init plat_timer_setup(struct irqaction *irq) +void gt64120_time_init(void) { static struct irqaction timer; /* Disable timer first */ GT_WRITE(GT_TC_CONTROL_OFS, 0); /* Load timer value for 100 Hz */ - GT_WRITE(GT_TC3_OFS, Sys_clock / HZ); + GT_WRITE(GT_TC3_OFS, Sys_clock / 100); /* * Create the IRQ structure entry for the timer. Since we're too early