[MTD] Avoid 64-bit division in mtdconcat

Josh Boyer jwboyer at gmail.com
Sun May 21 10:32:55 EDT 2006


On 5/20/06, Andrew Morton <akpm at osdl.org> wrote:
> "Josh Boyer" <jwboyer at gmail.com> wrote:
> > >     [MTD] Avoid 64-bit division in mtdconcat
> > >
> > >     WARNING: "__moddi3" [drivers/mtd/mtdconcat.ko] undefined!
> > >
> > >     Signed-off-by: Andrew Morton <akpm at osdl.org>
> > >     Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
> >
> > NAK.  asm-ppc/div64.h doesn't exist.
>
> It must exist.  Things like mm/vmscan.c include it.

Ugh.  Of course, you're right.  It's obfuscated by having
-Iarch/ppc/include and then having arch/ppc/include/asm a symlink to
include/asm-powerpc.

Sigh.

Sorry for the noise.  At least it motivated me to finally setup a
cross compile environment on my new machine ;)

josh




More information about the linux-mtd mailing list