aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2006-01-06 00:10:50 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 08:33:24 -0800
commitd5afa6dcf74c0efb60ce07c63d0a727be93c67c5 (patch)
tree5cc602e4c3c6ebbf0d8879676b67c237f3abb026 /include
parent9f3fd602aef96c2a490e3bfd669d06475aeba8d8 (diff)
[PATCH] mm: 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@shadowen.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmzone.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 3c49f786f90..28f8496abcb 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -596,11 +596,6 @@ static inline int pfn_valid(unsigned long pfn)
#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