lkml.org 
[lkml]   [2016]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] tools include: Add mman macros needed by perf for all arch
On 2016/09/14 10:57AM, Wang Nan wrote:
> Some macros required by tools/perf/trace/beauty/mmap.c is not support
> for all architectures. For example, MAP_32BIT is defined on x86 only,
> alpha doesn't define MADV_HWPOISON and MADV_SOFT_OFFLINE.
>
> This patch regenerates mman.h for each archs, defines these missing
> macros for perf. For missing MADV_*, fall back to asm-generic/mman-common
> because they are in 'case ...' statement. For flags, define to 0.

This resolves the build issue on powerpc, thanks!

Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.262 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site