public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] numa_node_size: drop definition of numa_exit_on_error
@ 2016-01-28 11:40 Jan Stancek
  2016-01-28 13:41 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Stancek @ 2016-01-28 11:40 UTC (permalink / raw)
  To: ltp

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-28 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28 11:40 [LTP] [PATCH] numa_node_size: drop definition of numa_exit_on_error Jan Stancek
2016-01-28 13:41 ` Cyril Hrubis
2016-01-28 14:45   ` Jan Stancek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox