--=_courier-15726-1052091219-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Sun, 2003-05-04 at 23:50, Andrew Morton wrote:
> > Now the problem is that if I try to load it, I get this:
> >=20
> > -----------------------------------------
> > sk98lin: Unknown symbol __udivdi3
> > -----------------------------------------
> >=20
> > Meaning it linked with libgcc_s.so. Any ideas why ?
> >=20
>=20
> This was the fix for the in-kernel driver, so it'll presumably
> fix the updated driver.
>=20
>=20
> diff -puN drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix drivers/net/sk9=
8lin/h/skgepnm2.h
> --- 25/drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix Thu Mar 6 16:18:0=
7 2003
> +++ 25-akpm/drivers/net/sk98lin/h/skgepnm2.h Thu Mar 6 16:18:07 2003
> @@ -341,7 +341,7 @@ typedef struct s_PnmiStatAddr {
> #if SK_TICKS_PER_SEC =3D=3D 100
> #define SK_PNMI_HUNDREDS_SEC(t) (t)
> #else
> -#define SK_PNMI_HUNDREDS_SEC(t) (((t) * 100) / (SK_TICKS_PER_SEC))
> +#define SK_PNMI_HUNDREDS_SEC(t) ((((long)t) * 100) / (SK_TICKS_PER_SEC))
> #endif
> =20
> /*
Thanks, that fixed it =3D)
--=20
Martin Schlemmer
--=_courier-15726-1052091219-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+taJCqburzKaJYLYRAgTPAJwJX9w8+iH/yscjP475YGsW62cJ2QCgl789
EU6KHqfLXtbQEKLuLy2kQEY=
=jT2o
-----END PGP SIGNATURE-----
--=_courier-15726-1052091219-0001-2--