diff options
author | Olaf Hering <olaf@aepfle.de> | 2007-06-19 22:41:10 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-27 02:33:06 -0400 |
commit | f9046eb3f64db73f1c5b2a25d2a5983351cd1a04 (patch) | |
tree | 5141957ac1f702f63025275fcd33bdc1229b1c93 /include/asm-sh/push-switch.h | |
parent | 549f8009830177fe8897fd098a999b647990f30d (diff) |
2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!
On Tue, Jun 19, Stephen Hemminger wrote:
> 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 compiler-generated calls to __ucmpdi2.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-sh/push-switch.h')
0 files changed, 0 insertions, 0 deletions