Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

From: Gerd Knorr
Date: Fri Jul 15 2005 - 03:23:44 EST


Linus Torvalds <torvalds@xxxxxxxx> writes:

> Now, if somebody wants to make nicer helper functions so that you can say
>
> timeout = ms_from_now(500);

We already have something very simliar:
timeout = jiffies + msecs_to_jiffies(500);

;)

Gerd

--
panic("it works"); /* avoid being flooded with debug messages */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/