aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-07-25 11:57:37 -0300
committerArnaldo Carvalho de Melo <[email protected]>2016-07-25 11:58:56 -0300
commit4e3ba8af21b00b91b451e7c4a9fa3a63b025dd56 (patch)
tree1413429fd703b57aaf9f5b7fdab4b283b32b13cd
parentd51306f1a3bc0e3a7b86d8f2b2dedf34b356d3dd (diff)
Revert "perf tools: event.h needs asm/perf_regs.h"
This reverts commit e083a21fcac9311ca425e600a15332f4792c56cc. 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 <[email protected]> Cc: Naveen N. Rao <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Sukadev Bhattiprolu <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/util/event.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index b32464b353aa..8d363d5e65a2 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -8,7 +8,6 @@
#include "map.h"
#include "build-id.h"
#include "perf_regs.h"
-#include <asm/perf_regs.h>
struct mmap_event {
struct perf_event_header header;