* [PATCH] Fix numactl test program includes
@ 2009-01-10 5:49 Andi Kleen
0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2009-01-10 5:49 UTC (permalink / raw)
To: cpw, linux-numa
The .. paths in test includes are useless because the Makefile
compiles them from toplevel anyways. Also this allows to build
them outside the numactl tree as examples.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
diff -urp numactl-2.0.2/test/mbind_mig_pages.c numactl-2.0.2-hack//test/mbind_mig_pages.c
--- numactl-2.0.2/test/mbind_mig_pages.c 2008-08-05 16:36:58.000000000 +0200
+++ numactl-2.0.2-hack//test/mbind_mig_pages.c 2009-01-10 06:26:54.000000000 +0100
@@ -6,8 +6,8 @@
*/
#include <stdio.h>
#include <stdlib.h>
-#include "../numa.h"
-#include "../numaif.h"
+#include <numa.h>
+#include <numaif.h>
#include <unistd.h>
#include <asm/unistd.h>
diff -urp numactl-2.0.2/test/migrate_pages.c numactl-2.0.2-hack//test/migrate_pages.c
--- numactl-2.0.2/test/migrate_pages.c 2008-08-05 16:36:58.000000000 +0200
+++ numactl-2.0.2-hack//test/migrate_pages.c 2009-01-10 06:27:33.000000000 +0100
@@ -6,7 +6,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
-#include "../numa.h"
+#include <numa.h>
#include <unistd.h>
#include <errno.h>
diff -urp numactl-2.0.2/test/move_pages.c numactl-2.0.2-hack//test/move_pages.c
--- numactl-2.0.2/test/move_pages.c 2008-08-05 16:36:58.000000000 +0200
+++ numactl-2.0.2-hack//test/move_pages.c 2009-01-10 06:27:21.000000000 +0100
@@ -6,7 +6,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
-#include "../numa.h"
+#include "numa.h"
#include <unistd.h>
#include <asm/unistd.h>
--
ak@linux.intel.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-10 5:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-10 5:49 [PATCH] Fix numactl test program includes Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox