diff options
Diffstat (limited to 'arch/mips/au1000/common/time.c')
-rw-r--r-- | arch/mips/au1000/common/time.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/mips/au1000/common/time.c b/arch/mips/au1000/common/time.c index c8116bcacf55..0673fc0e36b6 100644 --- a/arch/mips/au1000/common/time.c +++ b/arch/mips/au1000/common/time.c | |||
@@ -262,15 +262,10 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
262 | * we do this. | 262 | * we do this. |
263 | */ | 263 | */ |
264 | if (no_au1xxx_32khz) { | 264 | if (no_au1xxx_32khz) { |
265 | unsigned int c0_status; | ||
266 | |||
267 | printk("WARNING: no 32KHz clock found.\n"); | 265 | printk("WARNING: no 32KHz clock found.\n"); |
268 | 266 | ||
269 | /* Ensure we get CPO_COUNTER interrupts. | 267 | /* Ensure we get CPO_COUNTER interrupts. */ |
270 | */ | 268 | set_c0_status(IE_IRQ5); |
271 | c0_status = read_c0_status(); | ||
272 | c0_status |= IE_IRQ5; | ||
273 | write_c0_status(c0_status); | ||
274 | } | 269 | } |
275 | else { | 270 | else { |
276 | while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_C0S); | 271 | while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_C0S); |