]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib: Adopt bitmap_intersects() operation from the kernel sources
authorAlexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Wed, 30 Jun 2021 15:54:48 +0000 (18:54 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Jun 2021 18:28:00 +0000 (15:28 -0300)
commit80cd3f9d0cce4bbccd55b896267c34002d46f6cd
treeb4d61ef8e6a7df71d7087e9832990b7262783faa
parent55d2f5b22d957cbab6e5a27e338db4cd864f8875
tools lib: Adopt bitmap_intersects() operation from the kernel sources

Adopt bitmap_intersects() routine that tests whether bitmaps bitmap1 and
bitmap2 intersects. This routine will be used during thread masks
initialization.

Signed-off-by: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Namhyung Kim <namhyung@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Antonov <alexander.antonov@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexei Budankov <abudankov@huawei.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Riccardo Mancini <rickyman7@gmail.com>
Link: http://lore.kernel.org/lkml/f75aa738d8ff8f9cffd7532d671f3ef3deb97a7c.1625065643.git.alexey.v.bayduraev@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/bitmap.h
tools/lib/bitmap.c