aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2006-01-06 03:10:50 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:33:24 -0500
commitd5afa6dcf74c0efb60ce07c63d0a727be93c67c5 (patch)
tree5cc602e4c3c6ebbf0d8879676b67c237f3abb026 /include/linux/mmzone.h
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/linux/mmzone.h')
-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 3c49f786f90c..28f8496abcb9 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -596,11 +596,6 @@ static inline int pfn_valid(unsigned long pfn)
596#define pfn_to_nid early_pfn_to_nid 596#define pfn_to_nid early_pfn_to_nid
597#endif 597#endif
598 598
599#define pfn_to_pgdat(pfn) \
600({ \
601 NODE_DATA(pfn_to_nid(pfn)); \
602})
603
604#define early_pfn_valid(pfn) pfn_valid(pfn) 599#define early_pfn_valid(pfn) pfn_valid(pfn)
605void sparse_init(void); 600void sparse_init(void);
606#else 601#else