summaryrefslogtreecommitdiff
path: root/tools/perf/tests/mem2node.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/mem2node.c')
-rw-r--r--tools/perf/tests/mem2node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/mem2node.c b/tools/perf/tests/mem2node.c
index b17b86391383..f4a4aba33f76 100644
--- a/tools/perf/tests/mem2node.c
+++ b/tools/perf/tests/mem2node.c
@@ -31,7 +31,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);
}
}