perf trace: Check if MAP_32BIT is defined (again)
authorJiri Olsa <jolsa@kernel.org>
Thu, 15 Dec 2016 19:56:54 +0000 (20:56 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Dec 2016 12:37:40 +0000 (09:37 -0300)
commit2bd42f3aaa53ebe78b9be6f898b7945dd61f9773
treeb3e322da54802be73f0f560fe66de53fa341ab0c
parent96c2fb69b92fcf6006dfb3017d6d887f8321407b
perf trace: Check if MAP_32BIT is defined (again)

There might be systems where MAP_32BIT is not defined, like some some
RHEL7 powerpc versions.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Kyle McMartin <kyle@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Fixes: 256763b01741 ("perf trace beauty mmap: Add more conditional defines")
Link: http://lkml.kernel.org/r/1481831814-23683-1-git-send-email-jolsa@kernel.org
[ Changed the Fixme cset to the one removing the conditional switch case for MAP_32BIT ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/mmap.c