perf tests: Fix compile errors in bp_signal files
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Fri, 26 Apr 2013 17:17:56 +0000 (10:17 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2013 13:23:57 +0000 (16:23 +0300)
commitb3539d214f6000217aae97b5ae32df5b03faf850
treed1c75b2fcec08f819cf54d282972624f987c2559
parentf9619d693a3aad365598ed5f718bd5883c7cb7f8
perf tests: Fix compile errors in bp_signal files

When building on powerpc,  we get compile errors in bp_signal.c and
bp_signal_overflow.c due to __u64 and '%llx'.

Powerpc, needs __SANE_USERSPACE_TYPES__ to be defined so we pick up
<asm-generic/int-ll64.h> and define __u64 as unsigned long long.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20130426173320.GA7029@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/bp_signal.c
tools/perf/tests/bp_signal_overflow.c