]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix arm64 build error
authorMark Salter <msalter@redhat.com>
Fri, 25 Jul 2014 22:02:46 +0000 (18:02 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Jul 2014 15:37:55 +0000 (12:37 -0300)
commit569a8688d2d561c57672057facc3bfeca13118e3
treed50539c584fc1719d2e0f431b51e270eac6ecfa5
parentaaebc4a2549e29a35cdf3f081d420b42f53ef8a5
perf tools: Fix arm64 build error

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: Mark Salter <msalter@redhat.com>
Acked-by: Jean Pihet <jean.pihet@linaro.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1406325766-8085-1-git-send-email-msalter@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm64/include/perf_regs.h