diff options
Diffstat (limited to 'arch/mips/tx4927/common/tx4927_setup.c')
-rw-r--r-- | arch/mips/tx4927/common/tx4927_setup.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/mips/tx4927/common/tx4927_setup.c b/arch/mips/tx4927/common/tx4927_setup.c index 941c441729b0..c8e49feb345b 100644 --- a/arch/mips/tx4927/common/tx4927_setup.c +++ b/arch/mips/tx4927/common/tx4927_setup.c | |||
@@ -81,18 +81,8 @@ void __init tx4927_time_init(void) | |||
81 | 81 | ||
82 | void __init plat_timer_setup(struct irqaction *irq) | 82 | void __init plat_timer_setup(struct irqaction *irq) |
83 | { | 83 | { |
84 | u32 count; | ||
85 | u32 c1; | ||
86 | u32 c2; | ||
87 | |||
88 | setup_irq(TX4927_IRQ_CPU_TIMER, irq); | 84 | setup_irq(TX4927_IRQ_CPU_TIMER, irq); |
89 | 85 | ||
90 | /* to generate the first timer interrupt */ | ||
91 | c1 = read_c0_count(); | ||
92 | count = c1 + (mips_hpt_frequency / HZ); | ||
93 | write_c0_compare(count); | ||
94 | c2 = read_c0_count(); | ||
95 | |||
96 | #ifdef CONFIG_TOSHIBA_RBTX4927 | 86 | #ifdef CONFIG_TOSHIBA_RBTX4927 |
97 | { | 87 | { |
98 | extern void toshiba_rbtx4927_timer_setup(struct irqaction | 88 | extern void toshiba_rbtx4927_timer_setup(struct irqaction |