Re: arca-1-against-pre-2.1.127-3

Andrea Arcangeli (andrea@e-mind.com)
Mon, 2 Nov 1998 11:55:34 +0100 (CET)


On Mon, 2 Nov 1998, Finn Arne Gangstad wrote:

>The correct way to check if a timer is pending is to check timer->prev.
>There is no reason to also check timer->next, so I suggest something like
>
>extern inline int timer_pending(struct timer_list * timer)
>{
> return timer->prev != 0;
>}

Stupid me! You are right. Just fixed, thanks.

Andrea Arcangeli

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