[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 bab935a3d74b4941216a213d146aea13ab772c5d..076f52b9bb79225bdfb3b39970d37caba13d8423 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;