lkml.org 
[lkml]   [2007]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!
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


-
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/

\
 
 \ /
  Last update: 2007-06-27 08:39    [from the cache]
©2003-2011 Jasper Spaans