Re: [2.6.22.2 review 18/84] Fix sparc32 udelay() rounding errors.

From: Jan Engelhardt
Date: Tue Aug 07 2007 - 18:05:48 EST



On Aug 7 2007 13:44, Greg KH wrote:

>--- a/arch/sparc/kernel/entry.S
>+++ b/arch/sparc/kernel/entry.S
>@@ -1749,8 +1749,8 @@ fpload:
> __ndelay:
> save %sp, -STACKFRAME_SZ, %sp
> mov %i0, %o0
>- call .umul
>- mov 0x1ad, %o1 ! 2**32 / (1 000 000 000 / HZ)
>+ call .umul ! round multiplier up so large ns ok
>+ mov 0x1ae, %o1 ! 2**32 / (1 000 000 000 / HZ)

If noone noticed - spacing seems odd :)


Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/