diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-02-13 17:31:17 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-02-13 17:31:17 +0000 |
commit | ebf4eb11e9a15e1d76a373c453dfd8f2752a4bd6 (patch) | |
tree | 08f73c8455580480092fc17eff25fadfeebdba3a /target/linux/brcm63xx/files/arch/mips/bcm963xx/time.c | |
parent | c592ef61b366aa791913ce6956b362afba08e7fe (diff) | |
download | upstream-ebf4eb11e9a15e1d76a373c453dfd8f2752a4bd6.tar.gz upstream-ebf4eb11e9a15e1d76a373c453dfd8f2752a4bd6.tar.bz2 upstream-ebf4eb11e9a15e1d76a373c453dfd8f2752a4bd6.zip |
Upgrade brcm63xx to 2.6.24
SVN-Revision: 10455
Diffstat (limited to 'target/linux/brcm63xx/files/arch/mips/bcm963xx/time.c')
-rw-r--r-- | target/linux/brcm63xx/files/arch/mips/bcm963xx/time.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm963xx/time.c b/target/linux/brcm63xx/files/arch/mips/bcm963xx/time.c index 8b82ada371..fa0fa71a7f 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm963xx/time.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm963xx/time.c @@ -77,6 +77,7 @@ static inline unsigned long __init cal_r4koff(void) * handler floating around. This one is rather different, but the algorithm * is provably more robust. */ +#if 0 irqreturn_t brcm_timer_interrupt(struct pt_regs *regs) { int irq = MIPS_TIMER_INT; @@ -88,9 +89,9 @@ irqreturn_t brcm_timer_interrupt(struct pt_regs *regs) irq_exit(); return IRQ_HANDLED; } +#endif - -void __init brcm_time_init(void) +void __init plat_time_init(void) { unsigned int est_freq, flags; local_irq_save(flags); @@ -107,10 +108,11 @@ void __init brcm_time_init(void) local_irq_restore(flags); } - +#if 0 void __init plat_timer_setup(struct irqaction *irq) { r4k_cur = (read_c0_count() + r4k_offset); write_c0_compare(r4k_cur); set_c0_status(IE_IRQ5); } +#endif |