From b9bfd4f995dcbbfd6fc1357ad8f1807040629fe8 Mon Sep 17 00:00:00 2001 From: Sergei Shtylyov Date: Sun, 28 May 2006 00:04:01 +0400 Subject: [PATCH] --- yaml --- r: 27659 b: refs/heads/master c: fbd7a38ffb127da53a4c9fd0ad09e6ed937e8e3f h: refs/heads/master i: 27657: 1b5486915522622955ad8a7d10a5dc9a04755c2c 27655: e89778cf75457051d901acd530a3b3b8c2ef72ab v: v3 --- [refs] | 2 +- trunk/arch/mips/au1000/common/time.c | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 0b04dabad9b7..e4c75ffd2e7e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b0b0e13e7dd309be13ab9324e67893e62b136e44 +refs/heads/master: fbd7a38ffb127da53a4c9fd0ad09e6ed937e8e3f diff --git a/trunk/arch/mips/au1000/common/time.c b/trunk/arch/mips/au1000/common/time.c index f74d66a58a21..842e1b5ac4a1 100644 --- a/trunk/arch/mips/au1000/common/time.c +++ b/trunk/arch/mips/au1000/common/time.c @@ -50,10 +50,6 @@ #include #include -extern void do_softirq(void); -extern volatile unsigned long wall_jiffies; -unsigned long missed_heart_beats = 0; - static unsigned long r4k_offset; /* Amount to increment compare reg each time */ static unsigned long r4k_cur; /* What counter should be at next timer irq */ int no_au1xxx_32khz; @@ -388,10 +384,9 @@ static unsigned long do_fast_pm_gettimeoffset(void) } #endif -void au1xxx_timer_setup(struct irqaction *irq) +void __init au1xxx_timer_setup(struct irqaction *irq) { - unsigned int est_freq; - extern unsigned long (*do_gettimeoffset)(void); + unsigned int est_freq; printk("calculating r4koff... "); r4k_offset = cal_r4koff();