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

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Wed Feb 05 2003 - 09:34:31 EST


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/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:17 EST