Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755860AbZKQRY2 (ORCPT ); Tue, 17 Nov 2009 12:24:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755046AbZKQRY1 (ORCPT ); Tue, 17 Nov 2009 12:24:27 -0500 Received: from mail-fx0-f221.google.com ([209.85.220.221]:60068 "EHLO mail-fx0-f221.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbZKQRY0 (ORCPT ); Tue, 17 Nov 2009 12:24:26 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=L/4bRPy46RhKR7UWkVK63b7/+GYWP/NaRRCXZRod7fUw9CtLnfEkkiIlQxTM9Xk+wE 2X8PnZ+ZedUgRhRUdJrSgT+tj4BxBJYaA0ROjdtVaIDsQ8a2fsLl9HKWCpDf4rTvkYPH kMNmhZYkgGluhYET/3PvrZPUtKQtEWmNIZlKM= Message-ID: <4B02DC46.5060202@panasas.com> Date: Tue, 17 Nov 2009 19:24:22 +0200 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090924 Remi/fc10 Thunderbird/3.0b4 MIME-Version: 1.0 To: Randy Dunlap CC: Stephen Rothwell , linux-next@vger.kernel.org, LKML Subject: Re: linux-next: Tree for November 17 (exofs) References: <20091117195309.6cc3ead0.sfr@canb.auug.org.au> <20091117090248.bb66c230.rdunlap@xenotime.net> <4B02D879.4010403@panasas.com> <4B02D8F9.2090208@panasas.com> In-Reply-To: <4B02D8F9.2090208@panasas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1669 Lines: 60 On 11/17/2009 07:10 PM, Boaz Harrosh wrote: > On 11/17/2009 07:08 PM, Boaz Harrosh wrote: >> On 11/17/2009 07:02 PM, Randy Dunlap wrote: >>> On Tue, 17 Nov 2009 19:53:09 +1100 Stephen Rothwell wrote: >>> >>>> Hi all, >>>> >>>> Changes since 20091116: >>> >>> >>> on i386 (X86_32): >>> >>> fs/built-in.o: In function `exofs_sbi_read': >>> (.text+0x592964): undefined reference to `__umoddi3' >>> >>> --- >>> ~Randy >> >> exofs_sbi_read is a totally simple loop thing. What does the >> __umoddi3 means? Please help? >> >> Boaz > > OK I think I get it. It's that u64 mod (%) operation. I'll try to > find a ready made macro for that. Sorry > > Boaz > I'll push this fix for tomorrow. Thanks for helping me find it. 4G devices is more than enough thank you ;-) Boaz --- git diff --stat -p -M fs/exofs/ios.c fs/exofs/ios.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/exofs/ios.c b/fs/exofs/ios.c index 14b2600..5bad01f 100644 --- a/fs/exofs/ios.c +++ b/fs/exofs/ios.c @@ -320,8 +320,9 @@ int exofs_sbi_read(struct exofs_io_state *ios) for (i = 0; i < 1; i++) { struct osd_request *or; - unsigned first_dev = ios->obj.id % ios->sbi->s_numdevs; + unsigned first_dev = (unsigned)ios->obj.id; + first_dev %= ios->sbi->s_numdevs; or = osd_start_request(ios->sbi->s_ods[first_dev], GFP_KERNEL); if (unlikely(!or)) { EXOFS_ERR("%s: osd_start_request failed\n", __func__); -- 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/