perf evlist: Use atomic.h for the perf_mmap refcount
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 May 2015 18:45:16 +0000 (15:45 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 May 2015 18:45:16 +0000 (15:45 -0300)
commit7143849a5d6a5c623d81790d92f0033507c5b14f
tree84fc1c5b579a62990528e38ccb71bc5d2f7df8c8
parent59a51c1dc9fbb3fb4af928b852d7b35df83edd74
perf evlist: Use atomic.h for the perf_mmap refcount

Now that we have atomic.h, we should convert all of the existing
refcounts to use it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-qhpv2etncj3hfofgj1aitkyv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evlist.h