[PATCH] Fix numactl test program includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux