[MIPS] time: Fix negated condition in cevt-r4k driver.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 30 Oct 2007 02:21:08 +0000 (02:21 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Nov 2007 17:26:13 +0000 (17:26 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-r4k.c

index bab935a..076f52b 100644 (file)
@@ -276,7 +276,7 @@ void __cpuinit mips_clockevent_init(void)
 
        clockevents_register_device(cd);
 
-       if (!cp0_timer_irq_installed)
+       if (cp0_timer_irq_installed)
                return;
 
        cp0_timer_irq_installed = 1;