On Thu, Jan 21, 2010 at 02:20,  <[email protected]> wrote:
> Modified: trunk/arch/blackfin/include/asm/delay.h (8206 => 8207)
>
> @@ -36,4 +36,12 @@
>       __delay((((usecs * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6);
>  }
>
> +static inline void ndelay(unsigned long nsecs)
> +{
> +     extern unsigned long loops_per_jiffy;
> +     __delay(((((1 * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6) * 
> nsecs /
> 1000);

please unify udelay and ndelay instead of copying & pasting
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to