From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Yang Date: Fri, 5 Jan 2018 09:51:04 +0800 Subject: [LTP] [PATCH v4 2/2] syscalls/migrate_pages03.c: Add new regression test In-Reply-To: <20180104153045.GA25335@rei> References: <20180103143836.GA7370@rei> <1515059054-20875-1-git-send-email-yangx.jy@cn.fujitsu.com> <1515059054-20875-2-git-send-email-yangx.jy@cn.fujitsu.com> <20180104153045.GA25335@rei> Message-ID: <5A4EDA08.5000206@cn.fujitsu.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it On 2018/01/04 23:30, Cyril Hrubis wrote: > Hi! >> +#include >> +#include >> +#include >> +#if HAVE_NUMA_H >> +#include >> +#endif >> +#if HAVE_NUMAIF_H >> +#include >> +#endif >> + >> +#include "config.h" > One small nit, the HAVE_NUMA* macros are defined in config.h so they are > defined only after the config.h header is included. I wonder if these > haders are needed to be included here at all, because they were not > included at all. Hi Cyril, These headers has been included in numa_helper.h, so we can remove them. > Also it's customary to use #ifdef instead of #if for autoconf macros. Agreed. Thanks, Xiao Yang