perf trace: Check if MAP_32BIT is defined
authorKyle McMartin <kyle@redhat.com>
Thu, 5 Sep 2013 14:29:47 +0000 (10:29 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Sep 2013 19:18:46 +0000 (16:18 -0300)
commit41817815666e4a6f302dad1fea47cbe64cc45e40
treedb0ab76fa5ff5e0c18513a2b629fc0e638ce1743
parent99cf666c5c0cd4f4c3e4155e7b01cf593d71d60e
perf trace: Check if MAP_32BIT is defined

MAP_32BIT is defined only on x86... this means perf fails to build on
all other platforms.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20130905142947.GA25882@merlin.infradead.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c