]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67035b05103c66b7a43e967f4610d24a7918d651
tree9d2f60ccd70a08b1443981fabc8c2000e8e609a5
parent86d8845589fdea6b408ceea039ed05b511676315
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: 768756de70eb ("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