]> asedeno.scripts.mit.edu Git - linux.git/commit
tools bitmap: Implement bitmap_equal() operation at bitmap API
authorAlexey Budankov <alexey.budankov@linux.intel.com>
Tue, 3 Dec 2019 11:43:33 +0000 (14:43 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 6 Jan 2020 14:46:04 +0000 (11:46 -0300)
commit8812ad412f851216d6c39488a7e563ccc5c604cc
treeb62268e19d0ac56d65ac8033bb45cfa86004b170
parentb9fb2de0115bbacab36da31fd10483ea66d9cfab
tools bitmap: Implement bitmap_equal() operation at bitmap API

Extend tools bitmap API with bitmap_equal() implementation.

The implementation has been derived from the kernel.

Extend tools bitmap API with bitmap_free() implementation for symmetry
with bitmap_alloc() function.

Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/43757993-0b28-d8af-a6c7-ede12e3a6877@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/bitmap.h
tools/lib/bitmap.c