浏览代码

hrtimers: fix typo

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>
Ingo Molnar 16 年之前
父节点
当前提交
2778d0d51d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/hrtimer.c

+ 1 - 1
kernel/hrtimer.c

@@ -1396,7 +1396,7 @@ void hrtimer_peek_ahead_timers(void)
 	struct tick_device *td;
 	struct tick_device *td;
 	struct clock_event_device *dev;
 	struct clock_event_device *dev;
 
 
-	if (hrtimer_hres_active())
+	if (!hrtimer_hres_active())
 		return;
 		return;
 
 
 	local_irq_save(flags);
 	local_irq_save(flags);