netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Olaf Hering <olaf@aepfle.de>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!
Date: Wed, 27 Jun 2007 02:33:41 -0400	[thread overview]
Message-ID: <468204C5.40104@garzik.org> (raw)
In-Reply-To: <20070619204110.GA21384@aepfle.de>

Olaf Hering wrote:
> On Tue, Jun 19, Stephen Hemminger wrote:
> 
>> On Tue, 19 Jun 2007 21:02:53 +0200
>> Olaf Hering <olaf@aepfle.de> 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



      parent reply	other threads:[~2007-06-27  6:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070619190253.GA19419@aepfle.de>
2007-06-19 20:10 ` 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined! Stephen Hemminger
2007-06-19 20:41   ` Olaf Hering
2007-06-21  9:55     ` Sivakumar Subramani
2007-06-26  7:01       ` Andrew Morton
2007-06-26 10:07         ` Jeff Garzik
2007-06-27  6:33     ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=468204C5.40104@garzik.org \
    --to=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=olaf@aepfle.de \
    --cc=shemminger@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).