Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755480AbYLOX1q (ORCPT ); Mon, 15 Dec 2008 18:27:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752336AbYLOX1h (ORCPT ); Mon, 15 Dec 2008 18:27:37 -0500 Received: from acsinet11.oracle.com ([141.146.126.233]:26409 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbYLOX1h (ORCPT ); Mon, 15 Dec 2008 18:27:37 -0500 Message-ID: <4946E7DC.7010403@oracle.com> Date: Mon, 15 Dec 2008 15:27:24 -0800 From: Randy Dunlap User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , David Woodhouse , linux-mtd@lists.infradead.org Subject: Re: linux-next: Tree for December 15 (MTD) References: <20081216020642.fc1007d9.sfr@canb.auug.org.au> In-Reply-To: <20081216020642.fc1007d9.sfr@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt701.oracle.com [141.146.40.71] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4946E7D1.00BB:SCFSTAT928724,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 41 Stephen Rothwell wrote: > Hi all, > > Changes since 20081212: > > New tree: > boot-params > > Undropped tree: > mtd On i386 builds, I'm seeing build-r7137.out:mtd_dataflash.c:(.text+0x10dff4): undefined reference to `__umoddi3' build-r7137.out:mtd_dataflash.c:(.text+0x10e010): undefined reference to `__umoddi3' build-r7137.out:mtd_dataflash.c:(.text+0x10e09f): undefined reference to `__udivdi3' which are caused by % and / operations where the denominator is a variable: /* Sanity checks */ if ((instr->addr + instr->len) > mtd->size || (instr->len % priv->page_size) != 0 || (instr->addr % priv->page_size) != 0) return -EINVAL; ... /* Calculate flash page address; use block erase (for speed) if * we're at a block boundary and need to erase the whole block. */ pageaddr = instr->addr / priv->page_size; ~Randy -- 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/