Re: [PATCH] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-06 Thread Vinson Lee
On Wed, Mar 6, 2013 at 12:52 AM, Ingo Molnar wrote: > > * Vinson Lee wrote: > >> The tokens MADV_HUGEPAGE and MADV_NOHUGEPAGE are not available with >> glibc 2.12 and older. Define these tokens if they are not already >> defined. >> >> This patch fixes these build errors with older versions of gl

Re: [PATCH] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-06 Thread Ingo Molnar
* Vinson Lee wrote: > The tokens MADV_HUGEPAGE and MADV_NOHUGEPAGE are not available with > glibc 2.12 and older. Define these tokens if they are not already > defined. > > This patch fixes these build errors with older versions of glibc. > > CC bench/numa.o > bench/numa.c: In function ???

[PATCH] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-05 Thread Vinson Lee
The tokens MADV_HUGEPAGE and MADV_NOHUGEPAGE are not available with glibc 2.12 and older. Define these tokens if they are not already defined. This patch fixes these build errors with older versions of glibc. CC bench/numa.o bench/numa.c: In function ‘alloc_data’: bench/numa.c:334: error: ‘MA