timer question

Emmanuel Chaput (Emmanuel.Chaput@enseeiht.fr)
Tue, 05 Mar 2002 14:57:38 +0100


Hi !

I have a problem with the first part of run_timer_list() :

if (!tv1.index) {
int n = 1;
do {
cascade_timers(tvecs[n]);
} while (tvecs[n]->index == 1 && ++n < NOOF_TVECS);
}

My problem is that tv*.index is initialized to 0, so the first call to
run_timer_list() will result in a (useless) call to cascade_timers() for
tvecs[1..NOOF_TVECS - 1].

Am I wrong ? Thanks to anyone who could help me !

-- 
Emmanuel Chaput                         Dépt Télécom & Réseau, ENSEEIHT
*5 61 58 82 10 (Fax *5 61 58 80 14)         Emmanuel.Chaput@enseeiht.fr

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/