diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-08-09 02:23:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-12 05:54:22 -0400 |
commit | 68c3e5a7b91513010d2536e4bcd7bdd54d0e6acf (patch) | |
tree | a2ea612e175a67eb2fed43962782ed303da5125d /drivers/net/ethernet | |
parent | 8df158ac36fa0937f51c372f0c2d0ad1b86ebe4c (diff) |
benet: fix build error on 32bit arch
Error comes from commit ac124ff973e27802797
(be2net: cleanup and refactor stats code)
ERROR: "__udivdi3" [drivers/net/benet/be2net.ko] undefined!
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 1a3accab3d17..7c98d8e99508 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c | |||
@@ -936,7 +936,7 @@ static void be_rx_eqd_update(struct be_adapter *adapter, struct be_rx_obj *rxo) | |||
936 | pkts = stats->rx_pkts; | 936 | pkts = stats->rx_pkts; |
937 | } while (u64_stats_fetch_retry_bh(&stats->sync, start)); | 937 | } while (u64_stats_fetch_retry_bh(&stats->sync, start)); |
938 | 938 | ||
939 | stats->rx_pps = (pkts - stats->rx_pkts_prev) / (delta / HZ); | 939 | stats->rx_pps = (unsigned long)(pkts - stats->rx_pkts_prev) / (delta / HZ); |
940 | stats->rx_pkts_prev = pkts; | 940 | stats->rx_pkts_prev = pkts; |
941 | stats->rx_jiffies = now; | 941 | stats->rx_jiffies = now; |
942 | eqd = stats->rx_pps / 110000; | 942 | eqd = stats->rx_pps / 110000; |