From: Andi Kleen <andi@firstfloor.org>
To: cpw@sgi.com, linux-numa@vger.kernel.org
Subject: [PATCH] [7/15] Move internal macros to numaint.h
Date:	Mon, 16 Jun 2008 14:00:22 +0200 (CEST)

No need to pollute the numa.h namespace
---
 numa.h    |    5 -----
 numaint.h |    5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

Index: numactl-2.0.0/numa.h
===================================================================
--- numactl-2.0.0.orig/numa.h
+++ numactl-2.0.0/numa.h
@@ -43,11 +43,6 @@ struct bitmask {
 	unsigned long *maskp;
 };
 
-#define howmany(x,y) (((x)+((y)-1))/(y))
-#define bitsperlong (8 * sizeof(unsigned long))
-#define longsperbits(n) howmany(n, bitsperlong)
-#define bytesperbits(x) ((x+7)/8)
-
 /* operations on struct bitmask */
 int numa_bitmask_isbitset(const struct bitmask *, unsigned int);
 struct bitmask *numa_bitmask_setall(struct bitmask *);
Index: numactl-2.0.0/numaint.h
===================================================================
--- numactl-2.0.0.orig/numaint.h
+++ numactl-2.0.0/numaint.h
@@ -39,3 +39,8 @@ enum numa_warn { 
 	W_distance,
 	W_memory,
 }; 
+
+#define howmany(x,y) (((x)+((y)-1))/(y))
+#define bitsperlong (8 * sizeof(unsigned long))
+#define longsperbits(n) howmany(n, bitsperlong)
+#define bytesperbits(x) ((x+7)/8)
