summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6893e57e6782..c90777eae1f8 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;
}