Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761156AbXF0Gd6 (ORCPT ); Wed, 27 Jun 2007 02:33:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759163AbXF0Gdr (ORCPT ); Wed, 27 Jun 2007 02:33:47 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:37851 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761000AbXF0Gdq (ORCPT ); Wed, 27 Jun 2007 02:33:46 -0400 Message-ID: <468204C5.40104@garzik.org> Date: Wed, 27 Jun 2007 02:33:41 -0400 From: Jeff Garzik User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Olaf Hering CC: Stephen Hemminger , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined! References: <20070619190253.GA19419@aepfle.de> <20070619131021.1c814098@localhost.localdomain> <20070619204110.GA21384@aepfle.de> In-Reply-To: <20070619204110.GA21384@aepfle.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.1.9 on srv5.dvmed.net summary: Content analysis details: (-4.3 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 32 Olaf Hering wrote: > On Tue, Jun 19, Stephen Hemminger wrote: > >> On Tue, 19 Jun 2007 21:02:53 +0200 >> Olaf Hering wrote: >> >>> What happend to __ucmpdi2 from David Woodhouse? >>> google has a few hits about stuff like this on 32bit powerpc with gcc 4.1.2: >>> >>> ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined! >>> >>> using the drivers/net/s2io* files from 2.6.21 with 2.6.22-rc5 fixes the >>> compile. >>> >>> 25805dcf9d83098cf5492117ad2669cd14cc9b24 adds two u64 >>= 48 followed by >>> a switch statement (line 2889 and 6816). >> Probably the "switch(err) {" needs a cast to a smaller type (like u8). > > This change removes the calls to __ucmpdi2. > > --- > drivers/net/s2io.c | 16 +++++++++------- > 1 file changed, 9 insertions(+), 7 deletions(-) applied to #upstream-fixes - 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/