Subject: Re: linux-next: Tree for December 16

From: Andrew Morton <[email-masked]>
Date: Tue, 16 Dec 2008 15:26:07 -0800

On Tue, 16 Dec 2008 22:37:54 +1100
Stephen Rothwell <[email-masked]> wrote:

> I have created today's linux-next tree at
> git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
> (patches at
> http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/)

This MTD patch:

commit 69423d99fc182a81f3c5db3eb5c140acc6fc64be
Author:     Adrian Hunter <[email-masked]>
AuthorDate: Wed Dec 10 13:37:21 2008 +0000
Commit:     David Woodhouse <[email-masked]>
CommitDate: Wed Dec 10 13:37:21 2008 +0000

    [MTD] update internal API to support 64-bit device size

broke the i386 build:

ERROR: "__udivdi3" [drivers/mtd/devices/mtd_dataflash.ko] undefined!
ERROR: "__umoddi3" [drivers/mtd/devices/mtd_dataflash.ko] undefined!
ERROR: "__umoddi3" [drivers/mtd/devices/m25p80.ko] undefined!

because things like

                pageaddr = instr->addr / priv->page_size;

are now doing a 64-bit divide.

These will all need to be hunted down and converted to do_div().