perf tools: Add bitmap_or function into bitmap object
authorJiri Olsa <jolsa@redhat.com>
Fri, 27 Jan 2012 14:34:23 +0000 (15:34 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Feb 2012 01:28:10 +0000 (23:28 -0200)
commit850f8127fa3666737881aecb3b16e8ede85e58f4
tree387aa036ac483a3b33e86d3a6388eaf6c3373c9b
parente90fda0635401225ca7c2343bea2f6d279347d10
perf tools: Add bitmap_or function into bitmap object

Adding implementation os bitmap_or function to the bitmap object. It is
stolen from the kernel lib/bitmap.o object.

It is used in upcomming patches.

Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1327674868-10486-5-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/bitmap.c
tools/perf/util/include/linux/bitmap.h