projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools: rename bitmap_alloc() to bitmap_zalloc()
[linux-2.6-microblaze.git]
/
tools
/
perf
/
bench
/
find-bit-bench.c
diff --git
a/tools/perf/bench/find-bit-bench.c
b/tools/perf/bench/find-bit-bench.c
index
73b5bcc
..
22b5cfe
100644
(file)
--- a/
tools/perf/bench/find-bit-bench.c
+++ b/
tools/perf/bench/find-bit-bench.c
@@
-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)
{
static int do_for_each_set_bit(unsigned int num_bits)
{
- unsigned long *to_test = bitmap_alloc(num_bits);
+ unsigned long *to_test = bitmap_
z
alloc(num_bits);
struct timeval start, end, diff;
u64 runtime_us;
struct stats fb_time_stats, tb_time_stats;
struct timeval start, end, diff;
u64 runtime_us;
struct stats fb_time_stats, tb_time_stats;