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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux