Re: [PATCH] Kill div64.h dupes, parenthesize do_div() macro params

Ian Molton (spyro@f2s.com)
Wed, 2 Jul 2003 09:14:25 +0100


On Wed, 2 Jul 2003 08:53:02 +0100
Russell King <rmk@arm.linux.org.uk> wrote:

> On Wed, Jul 02, 2003 at 05:15:17AM +0200, Bernardo Innocenti wrote:
> > What's worse, it has different semantics on different architectures:
>
> Any arch which does 32/32 -> 32q + 32r will break in the new time
> code; it certainly did for ARM. do_div must now be a 64/32 -> 64q +
> 32r implementation.
>
> > arm 64/32 -> 64q + 32r (asm function call)
> > arm26 32/32 -> 32q + 32r (generic)
>
> arm26 needs fixing in the same way arm recently was.

Thanks for the heads-up. Im not familiar with the time stuff yet, could
someone send me the full text of the partially snipped post above so I
have some background?

-- 
Spyros lair: http://www.mnementh.co.uk/   ||||   Maintainer: arm26 linux

Do not meddle in the affairs of Dragons, for you are tasty and good with ketchup. - 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/