tools: rename bitmap_alloc() to bitmap_zalloc()
[linux-2.6-microblaze.git] / tools / perf / tests / bitmap.c
index db2aadf..12b805e 100644 (file)
@@ -2,8 +2,8 @@
 #include <linux/compiler.h>
 #include <linux/bitmap.h>
 #include <perf/cpumap.h>
+#include <internal/cpumap.h>
 #include "tests.h"
-#include "cpumap.h"
 #include "debug.h"
 
 #define NBITS 100
@@ -14,7 +14,7 @@ static unsigned long *get_bitmap(const char *str, int nbits)
        unsigned long *bm = NULL;
        int i;
 
-       bm = bitmap_alloc(nbits);
+       bm = bitmap_zalloc(nbits);
 
        if (map && bm) {
                for (i = 0; i < map->nr; i++)