summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-17 09:48:30 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-17 13:28:56 -0500
commit29c58472ec2af073c4f858a61236fbedfc2923ac (patch)
tree4807f37e4dba51999dc397a80962569ed7ad7162 /drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
parentd30d9ccbfac7cf9a12a088d57aaf0891732e2bca (diff)
downloadblackbird-op-linux-29c58472ec2af073c4f858a61236fbedfc2923ac.tar.gz
blackbird-op-linux-29c58472ec2af073c4f858a61236fbedfc2923ac.zip
net_sched: sch_fq: use hash_ptr()
When I wrote sch_fq.c, hash_ptr() on 64bit arches was awful, and I chose hash_32(). Linus Torvalds and George Spelvin fixed this issue, so we can use hash_ptr() to get more entropy on 64bit arches with Terabytes of memory, and avoid the cast games. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud