summaryrefslogtreecommitdiff
path: root/tools/perf/tests/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/bitmap.c')
-rw-r--r--tools/perf/tests/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/bitmap.c b/tools/perf/tests/bitmap.c
index 384856347236..0bf399c49849 100644
--- a/tools/perf/tests/bitmap.c
+++ b/tools/perf/tests/bitmap.c
@@ -18,7 +18,7 @@ static unsigned long *get_bitmap(const char *str, int nbits)
if (map && bm) {
for (i = 0; i < map->nr; i++)
- set_bit(map->map[i], bm);
+ set_bit(map->map[i].cpu, bm);
}
if (map)