Re: [PATCH] PATCH: add framework for ndelay (nanoseconds)

Geert Uytterhoeven (geert@linux-m68k.org)
Wed, 5 Feb 2003 15:34:31 +0100 (MET)


On Sun, 2 Feb 2003, Linux Kernel Mailing List wrote:
> ChangeSet 1.953.4.9, 2003/02/02 02:44:15-02:00, alan@lxorguk.ukuu.org.uk
>
> [PATCH] PATCH: add framework for ndelay (nanoseconds)
>
> +void __ndelay(unsigned long usecs)
^^^^^
> +{
> + __const_udelay(usecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */
^^^^^
> +}

Wouldn't it make more sense to call the parameter `nsecs' (or `ns')?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- 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/