Date:	Sat, 10 Jan 2009 06:49:40 +0100
From: Andi Kleen <andi@firstfloor.org>
To: cpw@sgi.com, linux-numa@vger.kernel.org

Subject: [PATCH] Fix numactl test program includes

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>
