From: Riccardo Mancini Date: Sat, 21 Aug 2021 09:19:11 +0000 (+0200) Subject: perf mmap: Add missing bitops.h header X-Git-Tag: howlett/maple/20220722_2~2377^2~27 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5d4da30f76b96682dfefbe34717b7c0bf69ffc74;p=users%2Fjedix%2Flinux-maple.git perf mmap: Add missing bitops.h header MMAP_CPU_MASK_BYTES uses the BITS_TO_LONGS macro, which is defined in linux/bitops.h. However, this header is not included directly, but gets imported indirectly in files using the macro. This patch adds the missing include. Signed-off-by: Riccardo Mancini Cc: Ian Rogers Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lore.kernel.org/lkml/c5b91ee432a2e28e7f16337c740b43b4d0b0e86c.1629490974.git.rickyman7@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/mmap.h b/tools/perf/util/mmap.h index 9d5f589f02ae7..af33118354dd3 100644 --- a/tools/perf/util/mmap.h +++ b/tools/perf/util/mmap.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include // for cpu_set_t #ifdef HAVE_AIO_SUPPORT