In the patch<9b70f0970>, I used numa_max_node(), which's included in <numa.h>, but I forgot to add precompiled header: HAVE_NUMA_H, the patch fixed it.
Signed-off-by: Zhouping Liu <[email protected]> --- testcases/kernel/mem/lib/mem.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/testcases/kernel/mem/lib/mem.c b/testcases/kernel/mem/lib/mem.c index 25cdfd4..3843785 100644 --- a/testcases/kernel/mem/lib/mem.c +++ b/testcases/kernel/mem/lib/mem.c @@ -148,6 +148,7 @@ void testoom(int mempolicy, int lite, int numa) oom(KSM, mempolicy, lite); } +#ifdef HAVE_NUMA_H long count_numa(void) { int nnodes = 0; @@ -161,6 +162,7 @@ long count_numa(void) return nnodes; } +#endif int path_exist(const char *path, ...) { -- 1.7.7.6 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
