From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: [PATCH] Fix numactl test program includes Date: Sat, 10 Jan 2009 06:49:40 +0100 Message-ID: <20090110054940.GA26290@one.firstfloor.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline Sender: linux-numa-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: cpw@sgi.com, linux-numa@vger.kernel.org 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 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 #include -#include "../numa.h" -#include "../numaif.h" +#include +#include #include #include 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 #include -#include "../numa.h" +#include #include #include 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 #include -#include "../numa.h" +#include "numa.h" #include #include -- ak@linux.intel.com