[LTP] [PATCH] numa_node_size: drop definition of numa_exit_on_error

Jan Stancek jstancek@redhat.com
Thu Jan 28 12:40:03 CET 2016


numa_exit_on_error is defined by numactl library in libnuma.c,
at least since version 0.9. Re-defining it in test can cause
compile problems.

Reported-by: M.Srikanth Kumar <srikanth007m@gmail.com>
Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
 testcases/kernel/numa/numa_node_size.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testcases/kernel/numa/numa_node_size.c b/testcases/kernel/numa/numa_node_size.c
index 6338bc73c864..378a1d5d1e54 100644
--- a/testcases/kernel/numa/numa_node_size.c
+++ b/testcases/kernel/numa/numa_node_size.c
@@ -38,7 +38,6 @@
 #include <numa.h>
 #endif
 
-int numa_exit_on_error = 0;
 char *fmt_mem(unsigned long long mem, char *buf)
 {
 	if (mem == -1L)
-- 
1.8.3.1



More information about the Ltp mailing list