RE: [SOLVED] RE: e1000: "transmit timed out"

From: Feldman, Scott
Date: Tue Feb 10 2004 - 16:55:58 EST


> however I get a number of log messages:
>
> floating point used in kernel (task=c0261560, pc=e11c7b64)
>
> (Note that this is ppc) Apparently no ill effects, will try
> to dig where it is generating float instructions...

Anton, you might know: why is subtraction of two uint64_t's needing
floating point? We've got something like this in e1000 that emits the
above warning:

uint64_t n, m
uint32_t diff;

[...]

diff = n - m;

(Not expecting (n - m) to overflow uint32_t).

Changing diff to uint64_t gives unresolved symbol __udivdi3.

gcc version 2.95.3.

-scott
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html