Re: linux-next: Tree for December 16

Andrew Morton
2008-12-16T23:27:07Z

On Tue, 16 Dec 2008 22:37:54 +1100
Stephen Rothwell <sfr@canb.auug.org.au> 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 <ext-adrian.hunter@nokia.com>
AuthorDate: Wed Dec 10 13:37:21 2008 +0000
Commit: David Woodhouse <David.Woodhouse@intel.com>
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().