summaryrefslogtreecommitdiffstats
path: root/lib/test_rhashtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test_rhashtable.c')
-rw-r--r--lib/test_rhashtable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c
index 6893e57..c90777e 100644
--- a/lib/test_rhashtable.c
+++ b/lib/test_rhashtable.c
@@ -229,7 +229,8 @@ static int __init test_rht_init(void)
total_time += time;
}
- pr_info("Average test time: %llu\n", total_time / runs);
+ do_div(total_time, runs);
+ pr_info("Average test time: %llu\n", total_time);
return 0;
}
OpenPOWER on IntegriCloud