Re: [PATCH net-next] mlx4_en: fix a build error on 32bit arches

From: David Miller
Date: Tue Apr 30 2013 - 19:01:38 EST

From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Tue, 30 Apr 2013 13:53:51 -0700

> From: Eric Dumazet <edumazet@xxxxxxxxxx>
> commit b6c39bfcf1d7d63 ("net/mlx4_en: Add a service task")
> added a build error on 32bit arches.
> ERROR: "__udivdi3" [drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko]
> undefined!
> Fix this problem by using do_div()
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Applied, thanks for fixing this Eric.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at