diff options
author | Leslie Monis <lesliemonis@gmail.com> | 2019-02-27 02:00:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-27 03:55:38 +0100 |
commit | ff8285f81822dc8f528b36b6c5c8ab132367e92d (patch) | |
tree | 0edf40ff6ff3d082b82b6a91b0373f95bbc1866a /virt | |
parent | net: Use RCU_POINTER_INITIALIZER() to init static variable (diff) | |
download | linux-ff8285f81822dc8f528b36b6c5c8ab132367e92d.tar.xz linux-ff8285f81822dc8f528b36b6c5c8ab132367e92d.zip |
net: sched: pie: fix 64-bit division
Use div_u64() to resolve build failures on 32-bit platforms.
Fixes: 3f7ae5f3dc52 ("net: sched: pie: add more cases to auto-tune alpha and beta")
Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions