perf tools: Move barrier() definition to tools/include/linux/compiler.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 May 2015 16:38:16 +0000 (13:38 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 May 2015 19:05:04 +0000 (16:05 -0300)
commit5ac69737dc5e25fb1c26d18059c8e17ce2671d5d
tree391e80d406a2021c18e74354397775a3f21b888f
parent07d207ac0c55a413c358153bd3012c5fa51a0554
perf tools: Move barrier() definition to tools/include/linux/compiler.h

To make it generally accessible by other tools/ projects, also will be
used in the tools/arch/*/include/asm/barrier.h files that are being
introduced now.

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-qnjdqwu3vcnt14vqmr6wu788@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler.h
tools/perf/perf-sys.h