commit | 65f71b8bd2651e6d6ca9b09fe53a8db2da22b85c | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Fri Mar 27 00:25:24 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 27 00:25:24 2009 -0700 |
tree | d42820964a817c43ff9330711576816540a01ad0 | |
parent | 7d0b591c655ca0d72ebcbd242cf659a20a8995c5 [diff] |
benet: use do_div() for 64 bit divide The benet driver is doing a 64 bit divide, which is not supported in Linux kernel on 32 bit architectures. The correct way to do this is to use do_div(). Compile tested on i386 only. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>