]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/test_rhashtable.c
rhashtable-test: Fix 64bit division
authorThomas Graf <tgraf@suug.ch>
Tue, 5 May 2015 00:27:02 +0000 (02:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:30:47 +0000 (19:30 -0400)
commit6decd63acacb3b8de81ccc435cf9acea8b6bdfeb
tree9d2f60ccd70a08b1443981fabc8c2000e8e609a5
parentc936a79fc01ef1115a46f940944ebe7385845673
rhashtable-test: Fix 64bit division

A 64bit division went in unnoticed. Use do_div() to accomodate
non 64bit architectures.

Reported-by: kbuild test robot
Fixes: 1aa661f5c3df ("rhashtable-test: Measure time to insert, remove & traverse entries")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c