Resolve some clashing symbols for static functions that are in fact defined in numa.h.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
diff --git a/testcases/kernel/syscalls/utils/numaif.h b/testcases/kernel/syscalls/utils/numaif.h
index 068d95f..04c497a 100644
--- a/testcases/kernel/syscalls/utils/numaif.h
+++ b/testcases/kernel/syscalls/utils/numaif.h
@@ -22,7 +22,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: numaif.h,v 1.3 2009/11/09 05:39:52 yaberauneya Exp $
+ * $Id: numaif.h,v 1.4 2009/11/09 18:36:06 yaberauneya Exp $
  *
  */
 
@@ -35,6 +35,11 @@
 #endif
 
 #define NUMA_NUM_NODES 	128
+
+#if HAVE_NUMA_H
+#include <numa.h>
+#else /* The following symbols clash with the numa.h ones. */
+
 typedef struct { 
 	unsigned long n[NUMA_NUM_NODES/(sizeof(unsigned long)*8)];
 } nodemask_t;
@@ -74,6 +79,7 @@
 			return 0; 
 	return 1;
 } 
+#endif
 
 static inline void nodemask_dump(const char *header, const nodemask_t *mask)
 {
@@ -84,7 +90,6 @@
 	EPRINTF("\n");
 }
 
-
 #ifndef MPOL_DEFAULT
    // Policies
 #  define MPOL_DEFAULT			0
@@ -99,4 +104,3 @@
 #  define MPOL_MF_MOVE			(1<<1)
 #  define MPOL_MF_MOVE_ALL		(1<<2)
 #endif
-