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 4965dd666956..0173f5402a35 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 < perf_cpu_map__nr(map); i++)
- set_bit(perf_cpu_map__cpu(map, i).cpu, bm);
+ __set_bit(perf_cpu_map__cpu(map, i).cpu, bm);
}
if (map)