[PATCH 2/3] pfn_to_pgdat not used in common code

From: Andy Whitcroft
Date: Wed Nov 16 2005 - 18:00:48 EST


pfn_to_pgdat not used in common code

pfn_to_pgdat() isn't used in common code. Remove definition.

Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxx>
---
mmzone.h | 5 -----
1 file changed, 5 deletions(-)
diff -upN reference/include/linux/mmzone.h current/include/linux/mmzone.h
--- reference/include/linux/mmzone.h
+++ current/include/linux/mmzone.h
@@ -607,11 +607,6 @@ static inline int pfn_valid(unsigned lon
#define pfn_to_nid early_pfn_to_nid
#endif

-#define pfn_to_pgdat(pfn) \
-({ \
- NODE_DATA(pfn_to_nid(pfn)); \
-})
-
#define early_pfn_valid(pfn) pfn_valid(pfn)
void sparse_init(void);
#else
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/