]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "perf tools: event.h needs asm/perf_regs.h"
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2016 14:57:37 +0000 (11:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2016 14:58:56 +0000 (11:58 -0300)
commit244878f725061be3b9526166e993245cff089c04
tree1413429fd703b57aaf9f5b7fdab4b283b32b13cd
parent22e571fb86ef177b69026933ea4f390660407b5f
Revert "perf tools: event.h needs asm/perf_regs.h"

This reverts commit 5305172daa6e42ceabba94c4b8a48d9585f21d87.

Not needed at all, tools/perf/util/perf_regs.h, included via:

  #include "perf_regs.h"

Should have a definition for PERF_REGS_MAX, and since this is dependent
on HAVE_PERF_REGS_SUPPORT, fixes the build on powerpc, noticed by trying
to cross compile this from ubuntu16.04 with a locally build libz &
elfutils pair, since those are not available in multilib packages.

Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/n/tip-0bv204s71t4wuw1l53b6fz79@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.h