From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] ltp/numa: Fix compilation without MAP_HUGETLB
Date: Fri, 2 Jun 2017 07:31:02 -0400 (EDT) [thread overview]
Message-ID: <1635934817.27708421.1496403062394.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <5930C079.5010307@cn.fujitsu.com>
----- Original Message -----
> Hi Cyril, Jan
>
> Ping. :-)
>
> Compilation failed on RHEL5.11GA.
Pushed.
Thanks,
Jan
>
> Thanks,
> Xiao Yang
>
> On 2017/05/31 18:35, Xiao Yang wrote:
> > Compilation failed on some older distributions due to undefined
> > MAP_HUGETLB, so we include lapi/mmap.h to fix it.
> >
> > Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> > ---
> > testcases/kernel/numa/support_numa.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/testcases/kernel/numa/support_numa.c
> > b/testcases/kernel/numa/support_numa.c
> > index b6aa8bd..4904cc5 100644
> > --- a/testcases/kernel/numa/support_numa.c
> > +++ b/testcases/kernel/numa/support_numa.c
> > @@ -39,6 +39,7 @@
> > #include <sys/stat.h>
> > #include <sys/mman.h>
> > #include <fcntl.h>
> > +#include "lapi/mmap.h"
> >
> > /* Global Variables */
> > #define MB (1<<20)
>
>
>
>
prev parent reply other threads:[~2017-06-02 11:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 10:35 [LTP] [PATCH] ltp/numa: Fix compilation without MAP_HUGETLB Xiao Yang
2017-06-02 1:33 ` Xiao Yang
2017-06-02 11:31 ` Jan Stancek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1635934817.27708421.1496403062394.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox