tools: rename bitmap_alloc() to bitmap_zalloc()
[linux-2.6-microblaze.git] / tools / perf / bench / find-bit-bench.c
index fa90f3e..22b5cfe 100644 (file)
@@ -17,9 +17,9 @@ static unsigned int inner_iterations = 100000;
 
 static const struct option options[] = {
        OPT_UINTEGER('i', "outer-iterations", &outer_iterations,
-               "Number of outerer iterations used"),
+               "Number of outer iterations used"),
        OPT_UINTEGER('j', "inner-iterations", &inner_iterations,
-               "Number of outerer iterations used"),
+               "Number of inner iterations used"),
        OPT_END()
 };
 
@@ -54,7 +54,7 @@ static bool asm_test_bit(long nr, const unsigned long *addr)
 
 static int do_for_each_set_bit(unsigned int num_bits)
 {
-       unsigned long *to_test = bitmap_alloc(num_bits);
+       unsigned long *to_test = bitmap_zalloc(num_bits);
        struct timeval start, end, diff;
        u64 runtime_us;
        struct stats fb_time_stats, tb_time_stats;