hrtimers: fix typo
Ingo Molnar [Tue, 14 Oct 2008 14:55:36 +0000 (16:55 +0200)]
Found by Thomas Gleixner.

This caused the lockups i've bisected back to the range-hrtimers tree.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

kernel/hrtimer.c

index eb2cf98..2bd230b 100644 (file)
@@ -1396,7 +1396,7 @@ void hrtimer_peek_ahead_timers(void)
        struct tick_device *td;
        struct clock_event_device *dev;
 
-       if (hrtimer_hres_active())
+       if (!hrtimer_hres_active())
                return;
 
        local_irq_save(flags);