Skip to content
Commit ff8285f8 authored by Leslie Monis's avatar Leslie Monis Committed by David S. Miller
Browse files

net: sched: pie: fix 64-bit division

Use div_u64() to resolve build failures on 32-bit platforms.

Fixes: 3f7ae5f3

 ("net: sched: pie: add more cases to auto-tune alpha and beta")
Signed-off-by: default avatarLeslie Monis <lesliemonis@gmail.com>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3b40bf4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment