Re: [PATCH v2] perf: fix arm64 build error

2014-07-26 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 25, 2014 at 06:02:46PM -0400, Mark Salter escreveu: > I'm seeing the following build error on arm64: > > In file included from util/event.c:3:0: > util/event.h:95:17: error: 'PERF_REGS_MAX' undeclared here (not in a > function) > u64 cache_regs[PERF_REGS_MAX]; >

[PATCH v2] perf: fix arm64 build error

2014-07-25 Thread Mark Salter
I'm seeing the following build error on arm64: In file included from util/event.c:3:0: util/event.h:95:17: error: 'PERF_REGS_MAX' undeclared here (not in a function) u64 cache_regs[PERF_REGS_MAX]; ^ This patch adds a PERF_REGS_MAX definition for arm64. Signed-off-by: Mar