lkml.org 
[lkml]   [2005]   [Jul]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] i386: Selectable Frequency of the Timer Interrupt
FromGerd Knorr <>
Date15 Jul 2005 10:15:33 +0200
Linus Torvalds <torvalds@osdl.org> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-07-15 10:26    [from the cache]
©2003-2009