timer question

From: Emmanuel Chaput (Emmanuel.Chaput@enseeiht.fr)
Date: Tue Mar 05 2002 - 08:57:38 EST


   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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:41 EST