[lkml]   [2005]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] all-arch delay functions take 2
On 7/3/05, Denis Vlasenko <> wrote:
> Hi folks,
> This patch makes mdelay/udelay/ndelay calls as small
> as possible (just a function call), uses macros which
> do compile-time checks on delay duration if parameter
> is a constant, otherwise check is done at run time
> to prevent udelay(-1) disasters.

> -#define ndelay(n) udelay((n) * 5)
> +//BOGUS! #define ndelay(n) udelay((n) * 5)
If it's bogus, why not just remove it instead of leaving it in as a
comment (and a C++ style comment at that) ?

> +//extern struct timer_opts* timer;

Why add this at all if you are just going to comment it out anyway?

Jesper Juhl <>
Don't top-post
Plain text mails only, please
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-07-03 16:17    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean