Re: [PATCH 1/2] perf, tools: Define MADV_*HUGEPAGE for old kernels

From: Namhyung Kim
Date: Thu Mar 07 2013 - 00:28:24 EST


Hi Andi,

On Wed, 6 Mar 2013 15:19:16 -0800, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Avoids this on RHEL6:
>
> bench/numa.c: In function âalloc_dataâ:
> bench/numa.c:334: error: âMADV_HUGEPAGEâ undeclared (first use in this function)
> bench/numa.c:334: error: (Each undeclared identifier is reported only once
> bench/numa.c:334: error: for each function it appears in.)
> bench/numa.c:341: error: âMADV_NOHUGEPAGEâ undeclared (first use in this function)

The fix was posted already but there's an issue also. Please see

https://lkml.org/lkml/2013/3/6/2

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/