diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-03-27 00:25:24 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-27 00:25:24 -0700 |
commit | 65f71b8bd2651e6d6ca9b09fe53a8db2da22b85c (patch) | |
tree | d42820964a817c43ff9330711576816540a01ad0 /mm/sparse.c | |
parent | 7d0b591c655ca0d72ebcbd242cf659a20a8995c5 (diff) | |
download | blackbird-op-linux-65f71b8bd2651e6d6ca9b09fe53a8db2da22b85c.tar.gz blackbird-op-linux-65f71b8bd2651e6d6ca9b09fe53a8db2da22b85c.zip |
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>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions