Skip to content

Commit

Permalink
[PATCH] mm: pfn_to_pgdat not used in common code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Jan 6, 2006
1 parent 9f3fd60 commit d5afa6d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5afa6d

Please sign in to comment.